[uf-discuss] more hatom rambling - detection
Dimitri Glazkov
dimitri.glazkov at gmail.com
Wed Jun 21 06:04:52 PDT 2006
Chris,
How about this:
* look for hentry
* if found, traverse ancestors to see if there's an hfeed
** if found, add hfeed to list of feeds
** otherwise, add page to list of feeds, stop looking for hfeeds
* repeat
:DG<
On 6/20/06, Chris Casciano <chris at placenamehere.com> wrote:
>
> Let me continue my hatom spec/issue rambling by piggy backing on the
> recent hcard detection / class "hijacking" thread...
>
> Given [1]:
>
> "the Feed element is optional and, if missing, is assumed to be the
> page"
>
> What are the rules for detecting that an hatom feed exists in a page?
> Like the other thread, I'm thinking less about the context of actually
> parsing the document with an hatom capable parser, but more in the
> detection context where you may have some other application (browser or
> plugin) detecting that the feed exists and preparing to hand off the
> document to another (feed reading) application.
>
>
> [1] http://microformats.org/wiki/hatom#Feed
>
> --
> [ Chris Casciano ]
> [ chris at placenamehere.com ] [ http://placenamehere.com ]
>
> _______________________________________________
> microformats-discuss mailing list
> microformats-discuss at microformats.org
> http://microformats.org/mailman/listinfo/microformats-discuss
>
More information about the microformats-discuss
mailing list