so i decided that i was going to do a simple task that i should
have done a long time ago - produce non-truncated versions of my
syndication feeds without the html tags stripped. the feeds are all
truncated at 500 characters and have the html removed because way
back in the day, that's what the
spec said was
the Right Thing to Do
with the 'description' element.
in response to the restrictiveness of the traditional 'description'
element
aaron swartz
created
content:encoded
which was
generally regarded
as the Right Thing to Do with html-laden content. naturally, it
took me two years to get around to playing the with "new" element.
after remembering how to get
XML::RSS
to import the content module, i'm off to the races and producing
what looks to my naive eye to be a
valid feed with
content:encoded elements
, but alas, it's
not valid
. i'm getting a "Undefined content_encoded element: p" error from
the validator and
netnewswire
lite
won't render the element at all, even though i'm fairly certain
that it can handle content:encoded. so what gives? it anyone has
any idea what dopey thing i'm going feel free to
give me an earful
. and before you ask, i'm pretty sure that doesn't have to do with
the css class in th html, although i should just strip that out
because it's useless legacy artifact.
“"it is hard to be brave," said piglet, sniffing slightly, "when you're only a Very Small Animal." rabbit, who had begun to write very busily, looked up and said: "it is because you are a very small animal that you will be Useful in the adventure before us."”
the complete tales & poems of winnie the poohthis site chronicles the continuing adventures of my son, odin, who was unexpectedly born on the fourth of july at 25 weeks gestation, weighing 1 pound 7 ounces.
he's quite a fighter and you can always send him a postcard to the most current address listed here if you're inspired by his adventures. see the postcard project/google maps mashup to see a map of the postcards.
if you're new, you can browse the archives to catch up. and don't forget to watch a few movies that i made while we were in the neonatal intensive care unit. or if you want the abridged version and you can find a copy, you can read about his adventures in the november 2005 issue of parents magazine.
daddytypes
/
blogging baby
/
rebeldad
/
thingamababy
/
The Continuing Adventures of Super-Preemie
/
dooce
/
look snazzy and support the site at the same time by buying some snowdeal schwag!
valid xhtml 1.0?
This site designed by
Eric C. Snowdeal III
.
© 2000-2005