Rename rss to syndication

db4
Slava Pestov 2008-06-05 01:56:06 -05:00
parent 1074bdb330
commit aec1363400
13 changed files with 19 additions and 14 deletions

View File

@ -1,9 +1,10 @@
! Copyright (C) 2008 Slava Pestov. ! Copyright (C) 2008 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license. ! See http://factorcode.org/license.txt for BSD license.
USING: accessors kernel sequences fry sequences.lib USING: accessors kernel sequences fry sequences.lib
combinators rss http.server.responses http.server.redirection combinators syndication
http.server.responses http.server.redirection
furnace furnace.actions ; furnace furnace.actions ;
IN: furnace.rss IN: furnace.syndication
GENERIC: feed-entry-title ( object -- string ) GENERIC: feed-entry-title ( object -- string )

View File

@ -1 +0,0 @@
Daniel Ehrenberg

3
extra/syndication/authors.txt Executable file
View File

@ -0,0 +1,3 @@
Daniel Ehrenberg
Chris Double
Slava Pestov

View File

@ -1,6 +1,6 @@
USING: rss io kernel io.files tools.test io.encodings.utf8 USING: syndication io kernel io.files tools.test io.encodings.utf8
calendar urls ; calendar urls ;
IN: rss.tests IN: syndication.tests
\ download-feed must-infer \ download-feed must-infer
\ feed>xml must-infer \ feed>xml must-infer
@ -25,7 +25,7 @@ IN: rss.tests
f f
} }
} }
} ] [ "resource:extra/rss/rss1.xml" load-news-file ] unit-test } ] [ "resource:extra/syndication/test/rss1.xml" load-news-file ] unit-test
[ T{ [ T{
feed feed
f f
@ -42,4 +42,4 @@ IN: rss.tests
T{ timestamp f 2003 12 13 8 29 29 T{ duration f 0 0 0 -4 0 0 } } T{ timestamp f 2003 12 13 8 29 29 T{ duration f 0 0 0 -4 0 0 } }
} }
} }
} ] [ "resource:extra/rss/atom.xml" load-news-file ] unit-test } ] [ "resource:extra/syndication/test/atom.xml" load-news-file ] unit-test

View File

@ -1,11 +1,12 @@
! Copyright (C) 2006 Chris Double, Daniel Ehrenberg. ! Copyright (C) 2006 Chris Double, Daniel Ehrenberg.
! Portions copyright (C) 2008 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license. ! See http://factorcode.org/license.txt for BSD license.
USING: xml.utilities kernel assocs xml.generator math.order USING: xml.utilities kernel assocs xml.generator math.order
strings sequences xml.data xml.writer strings sequences xml.data xml.writer
io.streams.string combinators xml xml.entities io.files io io.streams.string combinators xml xml.entities io.files io
http.client namespaces xml.generator hashtables http.client namespaces xml.generator hashtables
calendar.format accessors continuations urls present ; calendar.format accessors continuations urls present ;
IN: rss IN: syndication
: any-tag-named ( tag names -- tag-inside ) : any-tag-named ( tag names -- tag-inside )
f -rot [ tag-named nip dup ] with find 2drop ; f -rot [ tag-named nip dup ] with find 2drop ;

View File

@ -0,0 +1 @@
web

View File

@ -2,7 +2,7 @@
! See http://factorcode.org/license.txt for BSD license. ! See http://factorcode.org/license.txt for BSD license.
USING: namespaces assocs sorting sequences kernel accessors USING: namespaces assocs sorting sequences kernel accessors
hashtables sequences.lib db.types db.tuples db combinators hashtables sequences.lib db.types db.tuples db combinators
calendar calendar.format math.parser rss urls xml.writer calendar calendar.format math.parser syndication urls xml.writer
xmode.catalog validators xmode.catalog validators
html.components html.components
html.templates.chloe html.templates.chloe
@ -14,7 +14,7 @@ furnace.actions
furnace.auth furnace.auth
furnace.auth.login furnace.auth.login
furnace.boilerplate furnace.boilerplate
furnace.rss ; furnace.syndication ;
IN: webapps.pastebin IN: webapps.pastebin
TUPLE: pastebin < dispatcher ; TUPLE: pastebin < dispatcher ;

View File

@ -4,7 +4,7 @@ USING: kernel accessors sequences sorting math math.order
calendar alarms logging concurrency.combinators namespaces calendar alarms logging concurrency.combinators namespaces
sequences.lib db.types db.tuples db fry locals hashtables sequences.lib db.types db.tuples db fry locals hashtables
html.components html.components
rss urls xml.writer syndication urls xml.writer
validators validators
http.server http.server
http.server.dispatchers http.server.dispatchers
@ -13,7 +13,7 @@ furnace.actions
furnace.boilerplate furnace.boilerplate
furnace.auth.login furnace.auth.login
furnace.auth furnace.auth
furnace.rss ; furnace.syndication ;
IN: webapps.planet IN: webapps.planet
TUPLE: planet-factor < dispatcher ; TUPLE: planet-factor < dispatcher ;

View File

@ -2,7 +2,7 @@
! See http://factorcode.org/license.txt for BSD license. ! See http://factorcode.org/license.txt for BSD license.
USING: accessors kernel hashtables calendar USING: accessors kernel hashtables calendar
namespaces splitting sequences sorting math.order namespaces splitting sequences sorting math.order
html.components rss html.components syndication
http.server http.server
http.server.dispatchers http.server.dispatchers
furnace furnace
@ -10,7 +10,7 @@ furnace.actions
furnace.auth furnace.auth
furnace.auth.login furnace.auth.login
furnace.boilerplate furnace.boilerplate
furnace.rss furnace.syndication
validators validators
db.types db.tuples lcs farkup urls ; db.types db.tuples lcs farkup urls ;
IN: webapps.wiki IN: webapps.wiki