syndication: get it working with doublec's wacky atom feed
parent
7826543d2e
commit
2ee4db39af
|
@ -70,7 +70,8 @@ TUPLE: entry title url description date ;
|
||||||
tri ;
|
tri ;
|
||||||
|
|
||||||
: atom-entry-link ( tag -- url/f )
|
: atom-entry-link ( tag -- url/f )
|
||||||
"link" tags-named [ "rel" attr "alternate" = ] find nip
|
"link" tags-named
|
||||||
|
[ "rel" attr { f "alternate" } member? ] find nip
|
||||||
dup [ "href" attr >url ] when ;
|
dup [ "href" attr >url ] when ;
|
||||||
|
|
||||||
: atom1.0-entry ( tag -- entry )
|
: atom1.0-entry ( tag -- entry )
|
||||||
|
|
Loading…
Reference in New Issue