Skip to content

Instantly share code, notes, and snippets.

@scripting
Created March 15, 2024 20:38
Show Gist options
  • Save scripting/7c4051e05afab64a9d08c142d4dddd01 to your computer and use it in GitHub Desktop.
Save scripting/7c4051e05afab64a9d08c142d4dddd01 to your computer and use it in GitHub Desktop.
const appConsts = {
title: "Chuck's Blogroll",
idWhereToAppend: "idBlogrollContainer",
urlFeedlandServer: "https://feedland.social/",
urlSocketServer: "wss://feedland.social/",
urlBlogrollOpml: "https://feedland.com/opml?screenname=cagrimmett&catname=blogroll",
urlFeedlandViewBlogroll: "https://feedland.com/?username=cagrimmett&catname=blogroll",
maxItemsInBlogroll: 40,
flShowSocketMessages: true,
flBlogrollUpdates: true,
blogrollDisplayedCallback: function () {
$(".divPageBody").css ("display", "block");
}
};
function startup () {
blogroll (appConsts);
}
@scripting
Copy link
Author

Actually we're not finished factoring here. A couple of the booleans don't have to be here, the default values are the same as the setting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment