stargeek
PHP news website logo.
home    PHP scripts    articles    seo tools    links    search    contact    shop    realtors


RSS, updated items, and links







RSS, updated items, and links

RSS, updated items, and links 12/29/2004 08:29 PM

One of the big differences between RSS and email is that RSS items can change.

So the question for any newsreader developer is this: what changes should trigger an item being marked as unread?

Specifically, today I’m thinking about a subset of that question: changes to <link> elements.

Take this hypothetical case:

1. An item looks like this:

<title>A title</title>
<description>A description</description>
<link>http://example.org/1</link>
<guid>123</guid>


2. Then the feed updates, and the <link> element changes:

<title>A title</title>
<description>A description</description>
<link>http://example.org/2</link>
<guid>123</guid>


The question: should it be marked as unread or not?

Right now, NetNewsWire marks it as unread. My policy has always been to err on the side of marking things unread—on the assumption that, otherwise, you might miss something important.

(Actually, NetNewsWire marks it as updated, and you have a pref that says whether or not to mark updated items as unread. Which most people leave turned on.)

The RSS 2.0 spec doesn’t address the issue of when to consider an item significantly changed—and I’m not sure the spec should say anything about that.

Of course, I don’t want new prefs or special cases, I want the best policy.

Perhaps changes to <link>s should not cause an item to be marked unread. What do you think?



On a related topic...

People have often asked me why we can’t use the <link> element as a unique identifier and permalink for news items.

It can’t be a unique identifier because it may change. The New York Times feeds, for instance, change their <link>s frequently: they include a query string that allows you to get past the registration system, and that query string changes. (It’s the New York Times feeds that prompted the discussion above about ignoring <link> changes.)

<link>s can’t be permalinks because there is nothing that says that a <link> has to be a permalink—it could point to another site entirely.

Which is why I always ask people to use <guid>s in their feeds, so we can identify items, so we can know when an item is an updated version of a previous item.

(About Atom there is one thing I adore: that guids—called <id>s there—are mandatory. I wish they could be mandatory in RSS too.)




This is a GrokNews Entry: (what is grok?)





Similar Items

RSS, updated items, and links

Grok Headline matches for RSS, updated items, and links

Create links to iTunes Music Store items


Create links to iTunes Music Store items 07/30/2004 10:29 AM
Today I was messing around with iTunes and discovered that if you click and hold on the links in the top of the window (the ones next to the Home icon) ... ... then you can drag these links to an open document in a text ed...

Just a Bunch of Links, but They’re
Good Links, I Swear


Just a Bunch of Links, but They’re
Good Links, I Swear
05/01/2004 11:03 PM

Links to interviews with Rich Siegel and John Calhoun, BBEdit 7.1.4 release notes, and an excellent story from Andy Hertzfeld on the development of Switcher.


Updated: ActiveWin.com: Microsoft
Security Bulletin List - Updated


Updated: ActiveWin.com: Microsoft
Security Bulletin List - Updated
06/08/2004 06:38 PM
We have re-updated our Microsoft Security Bulletin List for 2004. Be sure to check it out to see if you missed any of the 17 bulletins released this year.

[FLSA-2004:1546] Updated utempter
resolves security vulnerability --
Reissue: updated 8.0 version numbers


[FLSA-2004:1546] Updated utempter
resolves security vulnerability --
Reissue: updated 8.0 version numbers
05/19/2004 11:45 AM
Jesse Keating (May 19 2004)

My New Wishlist Items


My New Wishlist Items 10/28/2003 11:08 PM

canadia represent!

"Since ALA, we all have known that the Canadian library schools are really putting out some top librarian talent. But who knew they had a fashion sense as well. The students from the SLIS at Dalhousie University in Halifax, Nova Scotia are hawking some mighty fine librarian t-shirts, possibly ones even too racy to wear to work. And, 'action figure' aside, my favorite one has to be the NLA shirt." [librarian.net]


Most shoplifted items


Most shoplifted items 06/22/2005 01:49 AM
David Pescovitz: The Food Marketing Institute has ranked the fifty most frequently shoplifted products snatched by organized retail thieves. Organized retail theft (ORT) is "separate and distinct from petty shoplifting in that it involves professional theft rings that move quickly from community to community and across state lines to steal large amounts of merchandise that is then repackaged and sold back into the marketplace." The Top 10 shoplifted items:
#1 Advil tablet 50 ct
#2 Advil tablet 100 ct
#3 Aleve caplet 100 ct
#4 EPT Pregnancy Test single
#5 Gillette Sensor 10 ct
#6 Kodak 200 24 exp
#7 Similac w/iron powder - case
#8 Similac w/iron powder - single can
#9 Preparation H 12 ct
#10 Primatene tablet 24 ct
Link (via Fark and Mahalanobis)

Move Items X 1.2.9


Move Items X 1.2.9 11/11/2003 09:11 PM
Move files & folders using hierarchical CM.

6 Billion Items


6 Billion Items 02/17/2004 11:50 AM
Press Release: Google Achieves Search Milestone With Immediate Access To More Than 6 Billion Items 6B items = 4.28B web pages + 680M images + 845M Usenet messages + a bunch (200M?) of book pages...

Launch Items X 1.7


Launch Items X 1.7 07/02/2004 09:39 PM
Open files with customized applications from contextual menus.

School items online


School items online 04/06/2005 09:22 AM
Kansascity.com - Wed Apr 6, 10:18 am GMT

Old Pay Phones Become Novelty Items (AP)


Old Pay Phones Become Novelty Items (AP) 03/06/2004 02:00 AM
AP - Old pay phones are selling like they're going out of style.

Japanese Sith Items


Japanese Sith Items 04/01/2005 02:08 AM
Magnets, Towels, Keychains, Mugs, Fans, Clocks, and more are coming exclusively to Japan. Here's a mini-gallery to peruse.

Jackson Items Given to Investigators
(AP)


Jackson Items Given to Investigators
(AP)
05/03/2004 01:38 PM
AP - Underwear worn by Michael Jackson and handwritten notes were among Jackson items belonging to a businessman that were turned over to prosecutors in his child-sex case.

Items matching ( gmail )


Items matching ( gmail ) 04/30/2004 11:29 PM
selling their invitations to the Gmail beta on Ebay .. Look at 'em all! .. on

search.ebay.com/search/search.dll?cgiurl=http%3A%2F%2Fcgi.ebay.co m%2Fws%2F&krd=1&from=R8&MfcISAPICommand=GetResult&ht=1&SortProperty=Me taEndSort&query=gmail
track this site | 4 links


Multiple-enclosures on RSS items?


Multiple-enclosures on RSS items? 12/22/2004 01:10 AM

Disclaimer: These are my thoughts, not spec text.

This question comes up from time to time, and I've resisted answering it directly, thinking that anyone who really read the spec would come to the conclusion that RSS allows zero or one enclosures per item, and no more. The same is true for all other sub- elements of item, except category, where multiple elements are explicitly allowed. The spec refers to "the enclosure" in the singular. Regardless, some people persist in thinking that you may have more than one enclosure per item.

Okay, let's play it out. So if I have more than one enclosure per item, how do I specify the publication date for each enclosure? How do I specify the title, author, a link to comments, a description perhaps, or a guid? The people who want multiple enclosures suggest schemes that are so complicated that they're reduced to hand-waving before they get to the spec, which I would love to read, if it could be written. Some times some things are just too hard to do. This is one of them.

And there's a reason why it's too hard. Because you're throwing out the value of RSS and then trying to figure out how to bring it back. There's no need for items any more, so you might as well get rid of them. At the top level of channel would be a series of enclosures, and then underneath each enclosure, all the meta-data. Voila, problem solved. Only what have you actually solved? You've just re-created RSS, but instead of calling the main elements "item" we now call them "enclosure".

Sometimes linear thinking leads you to a dead-end, and this is one of those times, imho. You end up in a torus, there's no wall that says "you may go no further" but somehow you keep going in circles, chasing your tail, re-inventing RSS, when there's absolutely no need to.

So people ask how will we fit show notes into RSS? Maybe we won't. When you get into show notes, think outlines, and think about linking MP3s into outline structures. I think this has more potential. I could be wrong of course (not joking).

Comment here .


New Star Wars M&Ms Items Found


New Star Wars M&Ms Items Found 04/01/2005 02:08 AM
Here are a few new M&Ms items found recently. Jeff Tucker found Darth Vader sip cups his local Toys "R" Us at the register for $2.99. They come with a fun size bag of chocolate M&Ms. Meanwhile, Tom Potts found an M&M mini-lightsaber at Target. The saber lights up when the "activation stud" on the hilt is pressed.

Open unread items in OmniWeb


Open unread items in OmniWeb 04/03/2005 07:27 PM
waf fle: Here’s a “simple AppleScript to open all the unread items in the current subscription as tabs in a new window in OmniWeb.”

Streisand Items Net Thousands at Auction
(AP)


Streisand Items Net Thousands at Auction
(AP)
06/05/2004 09:01 PM
AP - Collectors took advantage of a rare opportunity Saturday when Barbra Streisand put hundreds of items from her films and personal life on auction to benefit several charities.

Several cool, news-making items from CES


Several cool, news-making items from CES 01/10/2004 09:05 PM
LAS VEGAS -- Now that we take such futuristic things as high-definition video, broadband Internet, streaming audio, wireless networking, and dozens of other IT victories for granted in today's connected world, the next step is how companies are now using combinations of these in new products. This year's International Consumer Electronics Show, which first showed the VCR in 1970, the CD player in 1981, and the DVD in 1996, is all about how current technologies are teaming up to create new items. And we found some good examples of how these are going to play out in the next few years.

Man Tosses All Apartment Items From
Window (AP)


Man Tosses All Apartment Items From
Window (AP)
03/28/2005 08:31 AM
AP - A Hong Kong man was arrested and checked for mental illness after he emptied his 35th-floor apartment by dropping its contents from the window, police and media said Sunday.

U.S. flies radioactive items out of Iraq


U.S. flies radioactive items out of Iraq 07/06/2004 07:57 PM

Add login items via the command line


Add login items via the command line 03/22/2005 03:39 PM
This is simple but handy command to add LoginItems (items that are executed after the user logs in) via the command line using the default tool. To add a normal startup item, use this syntax: defaults write loginwindow AutoL...

Worker charged with looting JFK Jr.
items


Worker charged with looting JFK Jr.
items
04/15/2004 10:31 AM

"Export iCal To Do items to
OmniOutliner"


"Export iCal To Do items to
OmniOutliner"
12/15/2003 10:29 PM

Synchronizing Menu Items, Part 2


Synchronizing Menu Items, Part 2 07/12/2004 08:57 PM
DDJ Jul 13 2004 0:51AM GMT

Man Who Dropped Items From Window
Arrested (AP)


Man Who Dropped Items From Window
Arrested (AP)
03/27/2005 01:12 PM
AP - A Hong Kong man was arrested and checked for mental illness after he emptied his 35th-floor apartment by dropping its contents from the window, police and media said Sunday.

Burglar Takes Items, but Then Cleans Up
(AP)


Burglar Takes Items, but Then Cleans Up
(AP)
04/01/2005 10:41 PM
AP - A woman's apartment was cleaned out, and cleaned up by a burglar, police said. According to police, the woman returned home Thursday after being away for a week and discovered her television, computer and other items missing. The burglar had also helped himself to food and booze.

Export iCal To Do items to OmniOutliner


Export iCal To Do items to OmniOutliner 12/14/2003 02:18 AM
iCal's doesn't allow me to print a simple list of all my To Dos as an outline (with no calendar info), so I wrote this Applescript to export all my To Dos into a new outline in OmniOutliner. Each calendar has any associated T...

Add login items to all user accounts at
once


Add login items to all user accounts at
once
05/26/2004 09:05 AM
When a Mac is used by more than one account or user, there might be times when you want to add a login item to all users' accounts. Now you could login as each user, open System Prefs and then drag the file or app to the Logi...

Add Dock items from the command line


Add Dock items from the command line 08/20/2004 10:00 AM
The file /System -> Library -> CoreServices -> Dock.app -> Contents -> Resources -> English.lproj -> default.plist appears to contain the default dock items that appear for a new user. Compared to what appears in a typical co...

Use speakable items to control Exposé


Use speakable items to control Exposé 08/17/2004 10:58 AM
Did you know that you can use speech to activate Exposé in Windows, Apps, and Desktop modes? You can even use speech to switch to Applications in Exposé for "all windows" and "Application windows" mode. Disable the Exposé ac...

Internet Server for Lists of Items


Internet Server for Lists of Items 03/15/2003 11:02 AM
Welcome

Police take Michael Jackson items


Police take Michael Jackson items 05/04/2004 03:58 AM
Police seize items of Michael Jackson memorabilia for possible use in his trial on child abuse charges.

Google Hits 6 Billion Items


Google Hits 6 Billion Items 02/18/2004 07:52 AM
Google Hits 6 Billion Items
http://www.g oogle.com/press/pressrel/6billion.html

Google Inc. yesterday announced it expanded the breadth of its web index to more than 6 billion items. This innovation represents a milestone for Internet users, enabling quick and easy access to the world's largest collection of online information. "People worldwide can find more information with Google than with any other search engine," said Larry Page, Google co-founder and president of Products. Google's collection of 6 billion items comprises 4.28 billion web pages, 880 million images, 845 million Usenet messages, and a growing collection of book-related information pages.

30% Off Selected Master Replicas Items


30% Off Selected Master Replicas Items 01/16/2004 12:59 PM
You can save some pretty big bucks during the three-day sale starting today at Masterreplicas.com. Almost all the Star Wars items they have in stock are on sale, including the Jango Fett blasters for $314.30. And I believe that set still has free shipping to U.S. addresses and $19.95 off orders outside the U.S.

"Debugger Window Menu Items: Where
should they be?"


"Debugger Window Menu Items: Where
should they be?"
06/18/2004 08:48 PM

Removing Today Items Through the
Registry


Removing Today Items Through the
Registry
09/04/2004 10:38 AM

Collector's Gallery Adds More Items


Collector's Gallery Adds More Items 06/03/2004 08:42 AM
From Collector's Gallery: Star Wars unleashed figures wave 7 IN STOCK. Star Wars trilogy DVD set preorder. 50 Vintage & Classic items added including loose Imperial shuttle, boxed Tie Interceptor, Imperial attack base MIB, POTF Tatooine Skiff MIB, vintage buttons, plush ewoks, school supplies, household items & more. See the list here...

Many Cool Items On eBay From Overlord307


Many Cool Items On eBay From Overlord307 10/29/2003 07:09 PM
If you like owning some pretty rare figures, Overlord307, long known for selling some very desirable items, like the ones in these auctions. Look for these: CD-ROM Bespin Luke and Vader, OOM-9, and the Ric Olie repaint from the Tiger game, and a few other more current items.
Grok Description matches for RSS, updated items, and links
GrokA matches for RSS, updated items, and links

RSS, updated items, and links

The following phrases have been identified by the grok system as matching this entry:

















Also check out:


Grok

Ipod Porn on the
Rise

Brief Abstract of
Wikipedia's
Mesothelioma Cancer
page

Get first aid
instructions in your
cell phone

IE is crap
JSPWiki gains
podcasting support

Top Ten Official
ExtremeTech Threads
of 2004

Use Wi-Fi To Play
Access Point Games

Car Bombs Detonated
Near Saudi Security
Buildings (Reuters)

Bush Vows More U.S.
Aid for Tsunami
Victims (Reuters)

Jerry Orbach of 'Law
& Order' Dies at 69
(AP)

Ark. Judge Voids Ban
on Gay Foster
Parents (AP)

Powerful Storm Soaks
California, Arizona
(AP)

al-Qaida
Surveillance
Techniques Detailed
(AP)

Minnesota Can't
Regulate Internet
Calls

Update 1: Court:
Minn. Can't Regulate
Internet Calls

Minnesota bid to
regulate Internet
calls quashed

Deadline Looms for
Microsoft Antitrust
Claims

Court Says Minnesota
Can't Regulate
Internet Phone
Service

TechBrief: VimpelCom
shares soar on tax
news

NM wireless Internet
provider acquired by
Nevada firm

- 3G gets going
Kurds are the
Closest Relatives of
Jews

OpenOffice.org
Utility Library

Java Binding for SDL
Varis Pro
Romanian, 67,
expecting twins

Don't forget other
crises - Oxfam

105-Year-Old Granny
Has First Doctor
Visit (AP)

Building a 3D Engine
in Perl, Part 2

This Fortnight in
Perl 6, December
7-20 2004

eBay to Drop
Passport, .NET
Support

TraveLazer Betas
Search Without Sales

American Red Cross
Disaster Relief Fund

mod_perl/Mason
developer for
e-commerce site

Render Queue Manager
SQL to DIA
BinaryVerse MMORPG
Ultimate++
HattrickIRC
Where Family Grows
ForWorld
sta(cc)ato
Sex and Cash Theory
Bush Promises
Long-Term Help for
Asia (AP)

10 Die As Militants,
Saudi Police Clash
(AP)

Tsunami Death Toll
Soars to Near 77,000
(AP)

Laser pointers
Explorations in the
Art of Stop-Motion
Animation

Federal appeals
court: Minnesota
can't regulate
Internet calls as
phone service

Tsunami disaster
relief...

Microsoft None Too
Happy About Latest
Windows Flaw
Disclosure

A Peek Under
Microsoft's Secret
'Bigtop'

Appeals court tells
state to keep hands
of VoIP

Football:Hard work
for Arsenal

iPod BeamDock Coming
In February

what is grok?