Created
March 15, 2024 20:38
-
-
Save scripting/7c4051e05afab64a9d08c142d4dddd01 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.