Getting and Displaying a Mastodon Post in Client-Side JavaScript / / No Comments I’ve got a few pages here that are primarily built for my own use. One of them, my bots page, is a list of all the dumbsuper useful bots I’ve built for Mastodon (and Bluesky). The idea on this page is to show the latest post from each bot. The bots page makes use of two different shortcodes written in Liquid to do this. The first uses the RSS feed of the bot to get their last toot ID: const lastToot = async (instance, user) => { let rssFeedURL = `https://$ {instance}/users/$ {user}.rss`; try { let feed = await parser.parseURL(rssFeedURL); return feed.items[0].guid.split('/').pop(); } catch(e) { console.log(`getting last toot for $ {user} returned an error`); return... more → Posted in: JavaScript Tagged with: Clientside, Displaying, Getting, JavaScript, Mastodon, Post
The Importance of Client-Side JavaScript Security – SitePoint / / No Comments The Importance of Client-Side JavaScript SecuritySitePointThis article was provided by JScrambler. Thank you for supporting the partners who make SitePoint possible. It seems like no matter where you look these days, you're bound to see something that has been created, at least in part, using JavaScript. JavaScript – Google News… more → Posted in: JavaScript Tagged with: Clientside, Importance, JavaScript, Security, SitePoint
jsblocks: Client-side JavaScript ‘for any kind of application’ – InfoWorld / / No Comments InfoWorld jsblocks: Client-side JavaScript 'for any kind of application'InfoWorldThe world of JavaScript frameworks keeps growing. One of the latest entrants, jsblocks, is positioned as more powerful than Backbone and faster or more flexible than React, Meteor, and AngularJS. An "isomorphic" framework, jsblocks can support server … JavaScript – Google News… more → Posted in: JavaScript Tagged with: 'for, application', Clientside, InfoWorld, JavaScript, jsblocks, kind