Fossil User Forum

rss feed not directing to thread but to artifact
Login

rss feed not directing to thread but to artifact

rss feed not directing to thread but to artifact

(1) By John Rouillard (rouilj) on 2021-06-12 00:53:39 [source]

I monitor the forum using rss. Maybe a week or so ago the rss feed url changed. I used to be able to click on the entry and see the forum article. Now I get a link that points to the artifact page. E.G.

 <title>Post: Trouble getting embedded docs to work</title>
 <link>https://fossil-scm.org/forum/info/213333b271bbf75bc60b5d9fe1089ad2b12c2dfbd64f933e34042a9f43115aeb</link>
 <description>Post: Trouble getting embedded docs to work</description>
 <pubDate>Fri, 11 Jun 2021 22:41:29 +0000</pubDate>
 <dc:creator>anonymous</dc:creator>
 <guid>https://fossil-scm.org/forum/info/213333b271bbf75bc60b5d9fe1089ad2b12c2dfbd64f933e34042a9f43115aeb</guid>

I see in the context, that the post was edited, but....

This rss item entry:

 <title>Post: Setup so that ticket submitters are only able to see their own tickets</title>
 <link>https://fossil-scm.org/forum/info/8c5b64ea49feedca5d192a88043696c4d783763a7be4006ffb9dcf868f9e361d</link>
 <description>Post: Setup so that ticket submitters are only able to see their own tickets</description>
 <pubDate>Fri, 11 Jun 2021 14:30:55 +0000</pubDate>
 <dc:creator>shofetim</dc:creator>
 <guid>https://fossil-scm.org/forum/info/8c5b64ea49feedca5d192a88043696c4d783763a7be4006ffb9dcf868f9e361d</guid>

shows me the posting.

My feed url is: https://fossil-scm.org/forum/timeline.rss?ss=v&y=f&n=20&vfx&nsm

Anybody have an idea what is happening here?

Thanks.

-- rouilj

(2) By Stephan Beal (stephan) on 2021-06-12 02:49:30 in reply to 1 [link] [source]

<link>https://fossil-scm.org/forum/info/213333b271bbf75bc60b5d9fe1089ad2b12c2dfbd64f933e34042a9f43115aeb</link>
...
<link>https://fossil-scm.org/forum/info/8c5b64ea49feedca5d192a88043696c4d783763a7be4006ffb9dcf868f9e361d</link>

Anybody have an idea what is happening here?

That is interesting. It's apparently a side effect of that post having been edited and appears to be intentional, but it also appears to be a bug, as it's apparently impossible to get to the content the post via that first link without manually editing the link from /info to /forumthread or /forumpost.

Under investigation...

(3) By Richard Hipp (drh) on 2021-06-12 14:45:45 in reply to 2 [link] [source]

Do I understand the problem correctly? The idea is that the following link works:

But this link (which differs only in using /info instead of /forumpost) does not work:

And the idea is that both URLs should take you to the same page. And in fact both URLs do take you to the same page if they are referencing a forum post that has not been edited, for example:

So, in other words, there seems to be a bug in /info when the name= query parameter references a forum post artifact, that it does not give a good display if the referenced artifact has been edited.

Is that the only problem? Or is there something more?

(4) By Richard Hipp (drh) on 2021-06-12 15:01:30 in reply to 3 [link] [source]

Seems to be fixed by check-in 81ab30272e216091.

(5) By John Rouillard (rouilj) on 2021-06-12 16:35:56 in reply to 4 [link] [source]

Yup that looks to have sorted it Thanks.