Open scripting opened 1 year ago
That's happy news, thanks. I signed out and into Drummer just now, confirmed via email, tried updating a posting from my blog outline, in preparation for going to see the new blog URL in action, and was stopped at this pop-up box/message:
Error running script: twGetScreenName is not defined.
I emptied the cache and called up a hard reboot. There's nothing flashing red in the console, just a blue message about Audit usage of navigatorAgent. I have a screen capture of that if it's useful. The version of Drummer shows as 2.1.0. All the elements entered in the settings area of Drummer, upper right, look accurate to me, including the Twitter identity.
@akaKenSmith -- you left out the crucial step. how did you instruct it to build the blog?
@akaKenSmith -- you left out the crucial step. how did you instruct it to build the blog?
Well, that made me smile. I used the icon in the left margin. I went back just now and used the drop-down menu version and things started proceeding from there. I still have to look further from there.
The icon in the left margin still returns the error box as noted above. The Rebuild command in the drop-down menu so far looks to be running as expected. It opened oldschool to show the updated blog.
Success for me: I posted a new entry to my blog and I see it at http://oldschool.scripting.com/anton@zuiker.com/. I also updated the PagePark config file that serves the blog to http://storian.org.
@akaKenSmith -- I don't know what's behind that button (and again you left out crucial info, which button?). Slow down Ken, and re-read your reports and ask yourself how would they know that.
@mistersugar -- that is excellent web hygiene! you were prepared for drummer to break your blog. bravo!
I got the same issue as @akaKenSmith when I tried to use the icon in the iconbar, which from the special files outline I see is written as:
cloud-upload http.readUrl ("http://drummercms.scripting.com/build?blog=" + twitter.getMyScreenname (), false); speaker.beep ();
That icon in iconbar is documented at http://docserver.scripting.com/drummer/blogging.opml#1628861390000
@mistersugar -- thanks. now we know what ken did, presumably.
the workaround is to use the menu command, or modify the icon command.
if the latter, change twitter.getMyScreenname to getUserScreenName
Hi,
Trying this on Drummer from the Build My Blog item in the tools menu
I get a dialogue: There was an error building the blog: but no other message. A couple of errors appear in the console.
The opml seems to be in the right place https://drummer.land/johnjohnston@mac.com/blog.opml
Cheers
John
@troutcolor -- please do a hard reload.
@troutcolor -- please do a hard reload.
Hi Dave, Thanks. I had tried that, and tried again a few times. Still getting the dialogue.
@troutcolor -- sorry there's a problem. not sure what to recommend.
I was able to blog using the icon I had set up in the iconbar
http.readUrl ("https://drummercms.scripting.com/build?blog=" + getUserScreenName (), false)
(note the "https:")@troutcolor -- sorry there's a problem. not sure what to recommend.
Would it be worth either, deleting all the content in the outline and trying again or deleting the outline and creating a new blog.opml outline?
My old outline is quite messy. I've downloaded a backup.
Cheers
John
Hi, I went through the outline and found a outline of type category. I guess that got added at some time in error, it was a list of microcasts. I deleted this and my blog works: http://oldschool.scripting.com/johnjohnston@mac.com/
I kept a copy of the 'bad' opml: https://drummer.land/johnjohnston@mac.com/BadBlog.opml And this is what it looks like in drummer.
Cheers
John
@troutcolor -- i'm pretty sure it has nothing to do with the content of the outline. it's saying there's a CORS problem. i think the best approach would be to look for some addon or plugin that might be interfering. you should also say what browser you're using so other people can try it and see if the problem is somehow attached to the browser.
@troutcolor -- i'm pretty sure it has nothing to do with the content of the outline. it's saying there's a CORS problem. i think the best approach would be to look for some addon or plugin that might be interfering. you should also say what browser you're using so other people can try it and see if the problem is somehow attached to the browser.
I was using Safari & Firefox on mac OS.
but I can reproduce the problem (only tested Safari).
I copy the problem outline back into the Blog outline and Building blog fails. I delete the node and the blog builds again. This screencast shows: building the blog successfully pasting in the bad bit failing to build deleting the bad node building successfully.
I only see the errors I reported earlier on the failed builds.
I presume this is my bad having the wrong type of outline in a blog outline.
https://user-images.githubusercontent.com/2952893/220774506-c9bb0f61-4ff4-4291-b40e-92d57c76d691.mp4
@troutcolor -- well can't argue with success. what exactly was the bad bit (not a screen shot, but the OPML text).
`
<outline text="BoffoSocko Microcast" type="link" xmlUrl="http://boffosocko.com/category/microcast/feed/" htmlUrl="http://boffosocko.com/category/microcast/" updated=" "/>
<outline text="CleverCast" type="link" xmlUrl="http://cleverca.st/podcast.xml" htmlUrl="http://cleverca.st/" updated=" "/>
<outline text="Colin Devroe" type="link" xmlUrl="http://cdevroe.com/type/audio/feed/" htmlUrl="http://cdevroe.com/type/audio/" updated=" "/>
<outline text="Colin Walker" type="link" xmlUrl="https://colinwalker.blog/podcast/feed/" htmlUrl="https://colinwalker.blog/podcast/" updated=" "/>
<outline text="Convocasts" type="link" xmlUrl="https://sounds.philpin.com/category/convocasts/feed/" htmlUrl="http://Andy%20Sylvester%20and%20John%20Philpin%20" updated=" "/>
<outline text="Eddie Hinkle (Author's Note)" type="link" xmlUrl="https://eddiehinkle.com/podcasts/authors-note/feed.rss" htmlUrl="https://eddiehinkle.com/podcasts/authors-note/" updated=" "/>
<outline text="Henrik Carlsson" type="link" xmlUrl="http://blog.henrikcarlsson.se/category/microcast/feed/" htmlUrl="http://blog.henrikcarlsson.se/" updated=" "/>
<outline text="John Johnston" type="link" xmlUrl="http://johnjohnston.info/blog/category/microcast/feed/" htmlUrl="http://johnjohnston.info/blog/" updated=" "/>
<outline text="Micro Monday" type="link" xmlUrl="https://monday.micro.blog/podcast.xml" htmlUrl="http://monday.micro.blog/" updated=" "/>
<outline text="Percolator (Aaron Parecki)" type="link" xmlUrl="https://percolator.today/podcast.xml" htmlUrl="https://percolator.today/" updated=" "/>
<outline text="Thought Shrapnel (Doug Belshaw microcast)" type="link" xmlUrl="https://thoughtshrapnel.com/category/microcasts/feed/" htmlUrl="https://thoughtshrapnel.com/category/microcasts/" updated=" "/>
</outline>
<outline text="" created="Fri, 08 Jul 2022 10:35:39 GMT"/>
</outline>`
I think it must have come from a accidental paste from another outline. I don't know how to get it to look pretty here.
Cheers
john
My Drummer blog is working well and I have been able to post as expected. It feels good to be blogging again.
Here is how I have been cleaning up the headers:
For outlines that are public and used by the blog, i.e., the glossary and about, I generated new public links for those outlines by deleting the flPublic and urlPublic attributes in the OPML headers and then selected File > Make outline public.
In the OPML headers for the blog.opml file, I updated urlPublic to http://oldschool.scripting.com/anton@zuiker.com/ and urlJson to http://oldschool.scripting.com/anton@zuiker.com/blog.json and urlAboutOpml to https://drummer.land/anton@zuiker.com/about.opml
A new post calling a glossary item worked as expected. Love that feature and I need to use it more.
However, I am not seeing the About tab on the blog at http://oldschool.scripting.com/anton@zuiker.com/. There are no errors in the console.
@mistersugar -- excellent work! :smile:
We should find a good place for that. Maybe have a wiki here? I think I can create one.
I'll look into the About tab on your page. It's probably computing a URL and has the old address hardcoded.
@mistersugar
please help refresh my memory, what did you do that makes you think you should have an about tab?
save me a little time in finding and relearning how this works...
My Drummer blog is working well and I have been able to post as expected. It feels good to be blogging again.
I'm having the same experience, many thanks.
The steps for changing the various OPML headers is very helpful, thank you. As you've shown, I updated the opml header for about.opml, and for blog.opml I updated urlPublic and urlAboutOpml.
The blog.opml headers didn't show any kind of urlJson item so I left that for another time, since the blog is operating fine in every way that's visible to me right now.
I didn't try changing the blog.opml header for urlLinkblogJson but currently there is no linkblog tab visible on the blog site. http://oldschool.scripting.com/ksmith3123@gmail.com/
And no About tab visible there yet either, as @mistersugar noted for his site.
All the other things in the Drummer-OldSchool realm that I'm used to using are working swiftly here.
In Daytona, searching Drummer docs, I find this reference about setting up the tabs for the linkblog and the about outline:
There is a 10/20/2021 posting there also that lists these two among about a dozen head level attributes Old School looks for when building the blog.
The Drummer docs have info about an About tab here.
Updated. In Drummer v.2.1.0 I see at all times now an untitled, empty drop-down menu between Tools and Docs there in the top area. I think I noticed it already present the other day when Drummer first come back into play. I didn't expect to see any action there of any kind among the menus. As first I guessed that a new menu was in development, but after a few days that seemed less likely. I couldn't get it to go away with an empty cache/hard reload, and nothing showed up red in the console.
Here's the thing. When you're giving me a bug report, which you are now, the first thing you must provide is this.
Neither of you have done that. And Ken you didn't do that twice the other day.
Don't make me be a schoolmarm. I need that info. If you want your problems fixed, you must provide it.
I work hard for a 67 year old programmer, and i've just put in months to turn this corner. You can do this. I know you can.
A better bug report for the About tab:
A better bug report for the About tab:
- The Drummer docs explain how to have an About tab displayed with the blog here.
- In the OPML headers for my blog.opml file, I updated urlAboutOpml to reflect an updated public link to my Drummer outline about.opml; that new public link is https://drummer.land/anton@zuiker.com/about.opml
- I did a hard refresh of my blog at http://oldschool.scripting.com/anton@zuiker.com/ and I do not see the About tab as expected.
The only things I see in the console after a empty cache/hard reboot is this:
I tried to follow @mistersugar for the model for the urlAboutOpml and changed the attribute to read this way:
I tried to follow @mistersugar for the model for the urlAboutOpml and changed the attribute to read this way:
@akaKenSmith did you first go to your about.opml, remove (click on the garbage icon) the flPublic and urlPublic attributes in the OPML headers, save, and then select File > Make outline public ? That creates the new public link you use in the header opml for blog.opml.
@akaKenSmith did you first go to your about.opml, remove (click on the garbage icon) the flPublic and urlPublic attributes in the OPML headers, save, and then select File > Make outline public ? That creates the new public link you use in the header opml for blog.opml.
I believe I did, but I'll run through again just to be sure. Thanks.
@akaKenSmith -- that extra menu, does it persist if you reload the page?
Is there a way to update my old Drummer blog and its RSS feed with an item saying where the new blog will be located?
@akaKenSmith -- that extra menu, does it persist if you reload the page?
After emptying the cache and a hard reload, the extra menu is still there. Nothing new in the console as far as i can tell.
@akaKenSmith -- what browser?
@akaKenSmith -- what browser?
Chrome.
It's probably just your Scripts menu.
Can you look it up in the docs, how to open the scripts menu.
then type something random in the top heading
if that shows up in the menu bar then it's the scripts menu.
I opened scripts opml file, typed some letters, and they appeared as the tag for the previously untagged menu up above, yes.
you could delete menubar.opml and it should go away.
you could delete menubar.opml and it should go away.
I deleted menubar.opml and now in both Chrome and Safari the phantom menu is no longer visible to me.
Ken, there was only one menubar.opml, not one in Chrome and one in Safari. :-)
@PostMonsterG -- interesting question -- but no -- that drummer is gone. can't get there from here.
i suppose the time for that question was before the switch was flipped.
The problem with the missing tabs in the blogs appears to be solved.
The linkblog tab and the about tab are back in action on my blog, thanks for all the sleuthing.
My blog Links and About tabs are showing, too. Many thanks @scripting for solving that.
All good on the tabs front here too. Thanks.
Everything should work as it did before with one change, the address of your blog.
Previously it would be at something like this --
http://oldschool.scripting.com/bullmancuso/
Now it's at this address --
http://oldschool.scripting.com/bull@mancuso.com/
Otherwise everything should work as before.
Please give it a try and let me know how it works for you.