List Info

Thread: Adding links to hAtom markup for many items on one page




Adding links to hAtom markup for many items on one page
user name
2006-09-26 20:08:26
Andy Mabbett wrote:
>    <li class="hentry" id=D2006-09-20>
>         <abbr class="updated entry-title"
title="2006-09-20">20th</abbr>:
>         span
class="entry-content">[text].</span>
>    </li>
>
> and a ' rel="bookmark" ' tag for
"#D2006-09-20".
>
> Is there any way to do that, without having
self-referring links? I see
> no reason why those URLs need to be visible on the page
to which they
> refer.
>   
The tricky part is that you can only add a rel attribute to
'a' and
'link' elements. If you added it to the <li> it would
be invalid HTML.

-brian
_______________________________________________
microformats-discuss mailing list
microformats-discussmicroformats.org
http://microformats.org/mailman/listinfo/microforma
ts-discuss
Adding links to hAtom markup for many items on one page
user name
2006-09-26 20:45:41
In message <451988BA.4040002gmail.com>, brian suda
<brian.sudagmail.com> writes

>The tricky part is that you can only add a rel attribute
to 'a' and
>'link' elements. If you added it to the <li> it
would be invalid HTML.

As I thought. Perhaps this needs to be addressed in the next
"edition"
of hAtom?

If there's no URL specified, and the entry has an ID, then
the URL could
default to:

        [page URL]#[ID]

-- 
Andy Mabbett
                Say "NO!" to compulsory ID Cards: 
<http://www.no2id.net/>

                Free Our Data:  <http://www.freeourd
ata.org.uk>
_______________________________________________
microformats-discuss mailing list
microformats-discussmicroformats.org
http://microformats.org/mailman/listinfo/microforma
ts-discuss
Adding links to hAtom markup for many items on one page
user name
2006-09-26 20:56:04
Very interesting idea.

Also, I wouldn't mind have "author" default to
something if it
couldn't be found -- I'll probably want to look at Atom in
the context
of data feeds to see what they do first.

Regards, etc...

On 9/26/06, Andy Mabbett <andypigsonthewing.org.uk>
wrote:
> In message <451988BA.4040002gmail.com>, brian suda
> <brian.sudagmail.com> writes
>
> >The tricky part is that you can only add a rel
attribute to 'a' and
> >'link' elements. If you added it to the <li>
it would be invalid HTML.
>
> As I thought. Perhaps this needs to be addressed in the
next "edition"
> of hAtom?
>
> If there's no URL specified, and the entry has an ID,
then the URL could
> default to:
>
>         [page URL]#[ID]
>
> --
> Andy Mabbett
>                 Say "NO!" to compulsory ID
Cards:  <http://www.no2id.net/>
>
>                 Free Our Data:  <http://www.freeourd
ata.org.uk>
> _______________________________________________
> microformats-discuss mailing list
> microformats-discussmicroformats.org
> http://microformats.org/mailman/listinfo/microforma
ts-discuss
>
_______________________________________________
microformats-discuss mailing list
microformats-discussmicroformats.org
http://microformats.org/mailman/listinfo/microforma
ts-discuss
Adding links to hAtom markup for many items on one page
user name
2006-09-26 21:26:03
In message
<21e523c20609261356j1192e649j880f22e2aaf8f33mail.gmail.com>,
David Janes <davidjanesblogmatrix.com> writes

>On 9/26/06, Andy Mabbett <andypigsonthewing.org.uk>
wrote:

>>Perhaps
[the issue of hAtom entries with no URL]
>>needs to be addressed in the next
"edition" of hAtom?
>>
>> If there's no URL specified, and the entry has an
ID, then the URL could
>> default to:
>>
>>         [page URL]#[ID]

OK; I've marked up a page:

        <http://www.westmidlandbirdclub.com/ladywalk/latest.htm
>

with an ID on each of many hAtom entries (they're
"li"s), in case anyone
wants to play with the concept.

-- 
Andy Mabbett
                Say "NO!" to compulsory ID Cards: 
<http://www.no2id.net/>

                Free Our Data:  <http://www.freeourd
ata.org.uk>
_______________________________________________
microformats-discuss mailing list
microformats-discussmicroformats.org
http://microformats.org/mailman/listinfo/microforma
ts-discuss
[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )