Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with "links" tab and Radio3 #55

Open
jruaud opened this issue Oct 10, 2021 · 29 comments
Open

Problem with "links" tab and Radio3 #55

jruaud opened this issue Oct 10, 2021 · 29 comments

Comments

@jruaud
Copy link

jruaud commented Oct 10, 2021

New links posted on Radio3 don't appear in my "links" tab on my Drummer blog only ancient links.
http://oldschool.scripting.com/JR_Paris/?tab=links
http://radio3.io/users/JR_Paris/

@scripting
Copy link
Owner

@jruaud --

  1. On Radio3 make sure you're running v0.7.15. There was a recent fix in this area, that could be the mismatch.

  2. Then edit one of your items, and re-publish it. This will cause it to rebuild a file that Drummer is looking for.

Let me know if it works.

@jruaud
Copy link
Author

jruaud commented Oct 10, 2021

Running v0.7.15.
Done what you asked to be done, but no change.
Also, the bookmarlet doesn't work either, in Chrome for Windows.

@scripting
Copy link
Owner

Not sure what the problem is. If you have more info about what's going on with the bookmarklet please post it.

@jruaud
Copy link
Author

jruaud commented Oct 10, 2021

Never mind. Thanks for Drummer though, it works like a charm and it's a great idea.

@jackbaty
Copy link

I am also not seeing any of the Radio3 links in the Links tab of my Drummer blog.

Radio3 shows v0.7.15.

Steps I've taken so far:

Here are my head-level settings...

headers

The Links tab shows up, but is empty.

I appreciate any tips for getting this working, thanks.

Should probably be posted as a separate issue, but as mentioned above by @jruaud, the Bookmarklet, when dragged (in Safari, at least) to the bookmark bar, seems to end up truncated. Here's how mine looks:

javascript:(function()%7Bfunction%20encode%20(s)%20%7Bs%20=%20s.toString%20();s%20=%20s.replace%20(new%20RegExp%20(

Maybe an encoding thing?

Anyway, I'm having so much fun with Drummer right now I can't stand it.

@mistersugar
Copy link

My radio3 links are working - I just posted a new link and instantaneously it displayed on my Drummer blog links tab.

But FYI Scripting News links tab is not showing any of your Monday links.

@scripting
Copy link
Owner

@mistersugar -- THANK YOU for pitching in here.

I have a lot of things on my plate right now, details that need to be taken care of. And this certainly is one of them.

The reason my links are sometimes out of date on Scripting News is that I can't figure out how to get my iPad to load the new version of Radio3. So when I post from there, the links to make it up to the blog until I post something from my desktop. So from now on, don't read that as a problem with Radio3 or Drummer. It's my fucking iPad. 😄

@jackbaty
Copy link

My radio3 links are working - I just posted a new link and instantaneously it displayed on my Drummer blog links tab.

@mistersugar Thanks for the notes. I've been rummaging around trying to help myself here.

I found issue #35 which feels related. There are a couple of things that confuse me. The Blogging in Drummer docs say to add an attribute named urlLinkblogJson pointing to the linkblog.json, which I've done. However, issue #35 mentions some things that make me wonder if I'm missing something.

For example, there's a reference to a urlLinkblog attribute. Is that something different than urlLinkblogJson? Also, the html version of the linkblog seems to be new, so for me that is http://radio3.io/users/jackbaty/linkblog.html. Are we to use that instead somehow?

I don't know where to find changelogs older than what is shown here so maybe I missed a trick from earlier.

It feels like I'm using the wrong attribute or URL so if anyone could share their working values that might help. Thanks.

@scripting
Copy link
Owner

scripting commented Oct 11, 2021

@jackbaty -- do what the docs say and you'll be fine.

@jackbaty
Copy link

@scripting I believe I followed the docs to the letter. (assuming you mean http://docserver.scripting.com/drummer/blogging.opml).

Basically, I added a head-level attribute, urlLinkblogJson with the value of "http://radio3.io/users/jackbaty/linkblog.json" via File->Edit OPML headers... and rebuilt everything.

The section for Adding a Links page is not long, so perhaps I'm looking in the wrong place.

@scripting
Copy link
Owner

scripting commented Oct 11, 2021

@jackbaty -- i assumed you followed the docs to the letter -- but you were asking questions about which attribute name should you pay attention to. i said do what the docs say and you'll be fine. ;-)

anyway given that you followed the docs, and it didn't work, what exactly did you do that made it work??

@scripting
Copy link
Owner

A voicemail/podcast on this topic.

http://scripting.com/2021/10/11/tryReallyHardNotToBreakUsers.m4a

@jackbaty
Copy link

@jackbaty -- i assumed you followed the docs to the letter -- but you were asking questions about which attribute name should you pay attention to. i said do what the docs say and you'll be fine. ;-)

Ah, of course, sorry.

anyway given that you followed the docs, and it didn't work, what exactly did you do that made it work??

I've not yet gotten it to work, but if/when I do I'll be sure to post how I did it.

@scripting
Copy link
Owner

I've not yet gotten it to work, but if/when I do I'll be sure to post how I did it.

I was under the impression it was working. I went to your site and looked at the Links tab and saw something new there.

Maybe it's just you need to do a hard reload of the page? Sometimes that is the problem...

@jackbaty
Copy link

A voicemail/podcast on this topic.

http://scripting.com/2021/10/11/tryReallyHardNotToBreakUsers.m4a

Brilliant, thank you so much. "Follow the docs" is great advice. My goose chase based on issue 35 would have been avoided if I'd done that, but sometimes the actual work gets ahead of the documentation and sometimes I get ahead of myself, too.

I really appreciate the extra context.

Oh my, emptying my cache did the trick. Thanks for the nudge. I should have known to try that first.

@scripting
Copy link
Owner

Cool. As people are noticing, the docs in Drummer are special. I wanted for once to do great docs. And I want to make them better. There's an item in yesterday's Change Notes about that. I'm serious. Drummer is a big deal, and we're going to use it to make better docs, for Drummer first, then for other things. ;-)

@troutcolor
Copy link

@scripting I've just noticed my links tab has disappeared. It was there before.
http://oldschool.scripting.com/johnjohnston/?tab=links

I'd set urlLinkblogJson in the blog outline header to http://radio3.io/users/johnjohnston/linkblog.json
I've not changed this since I got it working a couple of weeks ago.

I notice in the console when I load the links tab there is an error:
GET http://radio3.io/users/johnjohnston/linkblog.html 404 not found?

I've added a link to radio3, updated my blog and reloaded the blog
Radio 3 displays v0.7.15

Cheers
John

@scripting
Copy link
Owner

@troutcolor -- please please don't address support requests to me. it's possible someone else might know the answer, but if you do that, experience has shown they won't help.

that said, there was a note in the change notes outline that says what you have to do so this is also a case of rtfm. ;-)

@troutcolor
Copy link

Apologies for the mention.

I had read the manual or at least this bit:

Either post a link to your linkblog, or edit a link and repost it. The link doesn't have to change, it just needs to force a rebuild of all the Radio3 files which will now include the HTML rendering.
here

As I said:
I've added a link to radio3, updated my blog and reloaded the blog
Radio 3 displays v0.7.15

Is there another bit of the notes I've missed?
I wonder here the console error I noted above comes from and if it is related.

@scripting
Copy link
Owner

Sorry I missed that bit. I guess I was distracted by seeing my name there. ;-)

The missing HTML file is the problem. That's why it's not working. I don't know what the problem is. I'm not even sure where to begin, honestly.

@troutcolor
Copy link

Hmm, I noticed that the page:
http://radio3.io/users/johnjohnston/linkblog.html
was loading in my browser. So I edited a link and check again. Nothing. I added a new link with the shortcut. It appeared on
http://radio3.io/users/johnjohnston/

So I went over to my blog and the link tab loaded properly. The most recent link has not showed up yet but the links tab now works:
http://oldschool.scripting.com/johnjohnston/?tab=links
I’ve not checked the console as I am on my iPad.

@frankmeeuwsen
Copy link

@jackbaty What was the extra thing you did to make your Radio3 linkblog connect to Drummer?

I've been trying things for three days and I still can't get my Radio3 linkblog show up at my Drummer blog. Things I've done

But no luck so far. http://oldschool.scripting.com/frankmeeuwsen/?tab=links still shows up empty.
Two things I noticed:

I am out of options what to do next. Any help is appreciated!

@scripting
Copy link
Owner

@frankmeeuwsen -- when I loaded your blog, I noticed a 404 error in the javascript console when it tried to load the HTML file with your linkblog in it.

Are you sure you're running the latest version of Radio3? v0.7.15?

Can you open the JavaScript console in Radio3 and see if there are any errors when you cause a rebuild?

@frankmeeuwsen
Copy link

frankmeeuwsen commented Oct 13, 2021

@scripting This is what I see in the backend. So yes, 0.7.15
Screenshot-Radio3-20211013154443

When I rebuild the JSON from the Test > Build Linkblog JSON menu (is that the correct way?) I get a lot of errors in the console

Screenshot-Developer Tools — Radio3 — httpradio3 io-20211013154804

@frankmeeuwsen
Copy link

I have no idea what has happened but all of a sudden everything is working.
I opened the Links tab in my Drummer blog after I deleted yet another old link and all of a sudden it shows up. As is the JSON and HTML file of Radio3 updated.

Why is this always happening with me? Filing bug reports and minutes later everything starts cranking and working.... It's magic... When I haven't done anything different than before.

@scripting
Copy link
Owner

@frankmeeuwsen -- a couple of things.

  1. Did you use Radio3 a long time ago and just restart using it? If so that explains a lot. I just added a workaround for @am1t who is in the same situation, and mybe that fixed the problem for you.

  2. You're not the only one. Back in the 80s, when an Apple II would stop working, often it would work when I got it to the repair shop. This is just how it works. Sometimes software or computers feel unloved, and all they want is a little attention and then they start working again.

@frankmeeuwsen
Copy link

"Sometimes software or computers feel unloved, and all they want is a little attention and then they start working again."
I love this way of thinking about chips, 1's and 0's...

I used Radio3 way back in 2014 and 2017. So yes, I think the workaround did the trick. Thanks!

@jackbaty
Copy link

I used Radio3 way back in 2014 and 2017. So yes, I think the workaround did the trick. Thanks!

@frankmeeuwsen I'm sorry, but I'm not sure what incantation eventually worked, but I suspect my fix was related to yours and was probably Dave's doing :). Anyway, it's been working swimmingly since, although the items from 2017 and prior are not showing up (this is fine with me).

I used Radio3 back in 2017 and fired it back up because it's so cool to have in Drummer.

@oevl
Copy link

oevl commented Oct 15, 2021

I am proxying the oldSchool bucket to serve the outlines from my own domain, but then I encountered a strange situation where the Links tab would show up empty on Safari 13.1.2 running in my 2009 Mac mini with High Sierra, while the content would be present with other browsers and OSs. Turns out I had to check the "Disable Cross-Origin Restrictions" in Safari's Develop menu for the content to appear.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants