[uf-discuss] question regarding webslices

Martin McEvoy martin at weborganics.co.uk
Sun Nov 15 04:58:06 PST 2009


Hello André

André Luís wrote:
> Hello all,
>
> first of all, yes, I know webslices are a feature on a browser from a
> corporation, but since they are 99% hatom, this is the best place I
> can think of to ask for help.
> (the remaining 1% is a huge mess, btw)
>
> Has anyone been successful at implementing webslices?
>   

I have had some success....

>   - If so, what was the doctype of the document?
>   

It doesnt seem to matter ...

>   - did you run into any troubles w/ mime types?
>   

No .....
>   - do you know what might be causing the slice to show an error
> message along the lines of "Can't render the content?" or simply
> CSS-less content?
>
> I'm using a rel="feedurl" to specify a page from which the browser
> should get the updates.

ahh this is where  we differ I use @rel="default-slice" like this 
example from my home page :

    <link rel="default-slice" type="application/x-hatom" 
href="http://weborganics.co.uk/#slice"/>

>  That page is different. I just print the
> portion of the webslice there. 

 From what I can tell the web slice has to be on the *same page*  for 
you to be able to subscribe to it.

I didn't do much to implement web slices all I did was add a "hslice" to 
my "hentry", added an ID and linked to It using the auto discovery link 
I described above.

If you have an example....? then I will be more than happy to take a look ;)

Best Wishes

-- 
Martin McEvoy

WebOrganics http://weborganics.co.uk/
Add to address book: http://transformr.co.uk/hcard/http://weborganics.co.uk/



More information about the microformats-discuss mailing list