<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<pre wrap="">From: "Patrick R. Michaud" <a class="moz-txt-link-rfc2396E"
href="mailto:pmichaud@pobox.com"><pmichaud@pobox.com></a>
<span class="moz-txt-citetags">> </span>
<span class="moz-txt-citetags">> </span>In spite of the fact that I wrote the feeds.php recipe, I'm
<span class="moz-txt-citetags">> </span>really a bit of a newbie in this area, too. But if the problem
<span class="moz-txt-citetags">> </span>you're experiencing is appearing in Firefox, we really ought to see
<span class="moz-txt-citetags">> </span>about fixing it.
</pre>
<pre wrap=""><!---->
First, thanks for your detailed answer, very useful...
</pre>
<pre wrap=""><span class="moz-txt-citetags">> </span>I think that some of the Firefox extensions associate "read/not read"
<span class="moz-txt-citetags">> </span>with individual urls, so once a particular url is marked as "read",
<span class="moz-txt-citetags">> </span>it doesn't show up again, even if the contents of the url change
<span class="moz-txt-citetags">> </span>(and the date along with it).
</pre>
<pre wrap=""><!---->
That's what I guessed, yes. What I don't know is if that is supposed to be a standard behaviour or not. I have heard of a <guid> tag that is supposed to contain the date, or even about the date itself, but as most pages do not necessarily contain the date in an exlicit format, I don't know how this is processed by RSS readers.
</pre>
<pre wrap=""><span class="moz-txt-citetags">> </span>I know that one thing many people have tried is to include a date
<span class="moz-txt-citetags">> </span>of some sort along with the url, so that the RSS reader gets a new
<span class="moz-txt-citetags">> </span>url every time the article changes. This can be done in config.php
<span class="moz-txt-citetags">> </span>with:
<span class="moz-txt-citetags">> </span>
<span class="moz-txt-citetags">> </span> $FeedFmt['rss']['item']['link'] =
<span class="moz-txt-citetags">> </span>'{$PageUrl}&when={$ItemISOTime}';
</pre>
<pre wrap=""><!---->
What I have done (as I like the Rss Improved recipe better), is to change the following:
SDV($RssItemFmt,'
<item>
<!-- item title here -->
<link>{$PageUrl}<!-- item date here --></link>
<!-- item description here -->
<author>' . $RssEmailAddress . ' ($RssItemAuthor)</author>
<pubDate>$RssItemPubDate</pubDate>
<!-- item options here -->
</item>');
This is so that I can insert the date. I have also added the following in the code:
# Added the date tag to force new item in browser RSS readers based on URL.        
$RssItemFmt = str_replace ('<!-- item date here -->', '&amp;when={$LastModified}', $RssItemFmt);
</pre>
<pre wrap=""><span class="moz-txt-citetags">> </span>This causes a "&when=" parameter to be added to each of the
<span class="moz-txt-citetags">> </span>items' urls, so that whenever the page changes, it gets a new
<span class="moz-txt-citetags">> </span>feed url.
</pre>
<pre wrap=""><!---->It works like a charm in the Firefox extensions.
</pre>
<pre wrap=""><span class="moz-txt-citetags">> </span>Personally I'm not a big fan of that solution, because it implies
<span class="moz-txt-citetags">> </span>that the page with different dates appended might appear differently
<span class="moz-txt-citetags">> </span>in the results. I think that instead of simply marking a url as
<span class="moz-txt-citetags">> </span>"read", an RSS reader ought to keep track of when the url was read,
<span class="moz-txt-citetags">> </span>and not display the url as long as its date doesn't change.
</pre>
<pre wrap=""><!---->
See above, I am not sure at all how a RSS reader should work. Anyway, your suggestion above works for me. <span
class="moz-smiley-s1"><span> :) </span></span>
</pre>
<pre wrap=""><span class="moz-txt-citetags">> > </span>And the Watch lists do not
<span class="moz-txt-citetags">> > </span>register the pages as being updated either.
</pre>
<pre wrap=""><span class="moz-txt-citetags">> </span>
<span class="moz-txt-citetags">> </span>I'm not sure about this one -- are you talking about the watch lists
<span class="moz-txt-citetags">> </span>using the Notify capability, or some other watch lists?
</pre>
<pre wrap=""><!---->
Yes, the watch list using the Notify capabilities.
Anyway, it is working now, and I hope that is is working in other implementations too.
So that is the biggest plus... <span class="moz-smiley-s1"><span> :) </span></span>
Now, I have a few further requests that I did not manage to implement with the RSS Improved recipe:
1) It would be nice, in the description, to have three things hopefully as 4 different paragraphs):
- The Description of the item using metadata (that is currently an option not working, apparently from lack of information)
- The Description of the last change (this is in the Feed original recipe but not in the RSS Improved)
- The Header of the page (RSS Improved does this nicely
- The summary of the changes (like what you get in the page history)
2) If the (All)RecentChanges page has been modified, it is listed in itself, and as it gets updateed every time another page is updated, it becomes a mandatory part of the feed. As it is systématically updated, the above trick makes it listed every time in the Watchlist. Anyway to work around this ?
Thanks in advance,
Philippe
</pre>
</body>
</html>