Created
February 22, 2026 20:06
-
-
Save scripting/b785913de3afc9dc45346c0693b3ab87 to your computer and use it in GitHub Desktop.
How I publish from Drummer to micro.blog
This file contains hidden or 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
| var urlOutline = opml.getHeaders ().urlPublic; | |
| if (urlOutline === undefined) { | |
| dialog.alert ("Can't publish your outline because it doesn't have an \"urlPublic\" head-level attribute."); | |
| } | |
| else { //ping the server | |
| http.readUrl ("https://micro.blog/ping?url=" + urlOutline); //ping the server | |
| http.readUrl ("http://micro.blog/ping?url=https://dave.micro.blog/feed.xml") //ask it to read the RSS feed | |
| var options = { //try to make the update happen immediately | |
| type: "POST", | |
| url: "http://micro.blog/ping", | |
| data: "url=https://dave.micro.blog/feed.xml" | |
| }; | |
| http.client (options, true); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment