[uf-discuss] question regarding webslices
martin at weborganics.co.uk
Sun Nov 15 04:58:06 PST 2009
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?
> - 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"
> 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 ;)
Add to address book: http://transformr.co.uk/hcard/http://weborganics.co.uk/
More information about the microformats-discuss