straw-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Straw-devel] Re: link/guid behaviour, feedparser changes and tracking u


From: Jan Alonzo
Subject: [Straw-devel] Re: link/guid behaviour, feedparser changes and tracking upstream
Date: Mon, 28 Jun 2004 22:31:35 +1000
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (gnu/linux)

Juri Pakaste <address@hidden> writes:

<snip>

> But if isPermalink="true" (or if isPermalink is absent, which means the
> same thing) and <link> is present, guid isn't in the link attribute and
> we have a different link, no? Then there's no way to know if we should
> still show guid?

quoting the feedparser docs:

"Some RSS feeds use guid when they mean link. guid can also be used as an
opaque identifier that has nothing to do with links. If an RSS feed uses guid
as the entry link and no link is present, Universal Feed Parser detects this
and makes the guid available in d.entries[i].link."

My guess is if isPermalink="true" AND link is present, it won't overwrite
link. It will only put the guid there IF (1) isPermalink="true", and (2) link is
NOT PRESENT.


Hope that makes more sense.

Cheers,

-- 
Jan Alonzo                          <address@hidden>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]