summaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
authorrecht <recht>2006-02-19 20:49:11 +0000
committerrecht <recht>2006-02-19 20:49:11 +0000
commitc42e30022de0ce81c98d7a99cd79dda66ee5d975 (patch)
treec6222e7ab82e57e24f701e9130a11c722432e9ce /converters
parentebc46ffa5f48b3e6eb34298af3bbea01a93662bf (diff)
downloadpkgsrc-c42e30022de0ce81c98d7a99cd79dda66ee5d975.tar.gz
update to rsshtml-0.8
patch provided by pancake at phreaker dot net (maintainer) in PR 32857 0.7.8 * 2006/02/14 - add -n -N and -r (limit number of posts and words per post) - support foreach url name format: name@url - add link_node number id foreach link (html + xml2doc) - add support for RDF like dates. - reclean the plain text output format - use \r\n instead of just \n. (support for silly http servers). - fix HTML output when no pubDate defined. - fix support for RDF files. - cleanup the txt output format. - add substitution pattern and htmlize_string. - use <author> foreach item. - fix rss generation for planets. Change -P flag. - minor fix rss2 generation. - add author stuff for the templates - fixes for the cdata strings - add nopcode template - add crontab planet script - Add -P flag in cmdline - Add support for planets (order posts by date). - default html template reads rss2html.css - add manpage. - Initial support of templates - initial enclosure url support (useful for podcast) - add 'url' output format, for make pipes happy. - fix parser.c again - initial import of subst framework. - add xml2doc output format - initial use of the storage infrastructure. - fix <![CDATA parser. - finally remove the deprecated parser. - fix pubDate output in MXML format. - initial port to acr. - add GPLv2 license and related stuff properly. - initial import of cmptime.c - rework on storage framework. - fix html entities inside MXML output format. - add doblog output information tip in README - fix temporally file creation bug. - handle description and content:encoded fields. - add -n -N and -r (limit number of posts and words per post) - support foreach url name format: name@url - support for MXML format - add some snippets for planet support in the future. - implement the new XML parser. - initial preparation for mxml format and date ordening. (not working yet) - rename -d to -D and -x flag to -d - add -L flag (local link translation) - fix default prefix to /usr/local (stoned stuff) - fix install stuff to use INSTALL_* stuff - support for enclosure tag for podcasts - podcast RSSs also working - integrate Darek's patch that fix description field parsing (-x) - order help flags
Diffstat (limited to 'converters')
-rw-r--r--converters/rss2html/DESCR16
-rw-r--r--converters/rss2html/Makefile12
-rw-r--r--converters/rss2html/PLIST5
-rw-r--r--converters/rss2html/distinfo9
-rw-r--r--converters/rss2html/patches/patch-aa13
5 files changed, 27 insertions, 28 deletions
diff --git a/converters/rss2html/DESCR b/converters/rss2html/DESCR
index e90211c0a07..d298d70e00a 100644
--- a/converters/rss2html/DESCR
+++ b/converters/rss2html/DESCR
@@ -1,4 +1,14 @@
-Rss2Html is a simple converter to see Rss/Rdf/Xml news databases into
-html on console mode, or embedded on a web page.
+rss2html is a simple converter from RSS/RDF/XML feeds (used for podcast,
+blogs, news pages, etc) into HTML or other formats useful to read news
+from commandline or automatized in cron.
-i.e: $ rss2html http://slashdot.org/index.rss | lynx -stdin
+The HTML generation can be done by using user defined templates.
+
+You can also create planets joining some RSS and ordering them by date
+(automatically done with '-P' flag).
+
+Some examples:
+ $ rss2html -d http://someones.blog.org/feed.rss | lynx -stdin
+ $ rss2html http://podcasting/feed.xml | wget -c -F -i -
+ $ rss2html -P myplanet@http://my.url/ -r 150 -d -n 2 \
+ foo@http://foo/feed.xml bar@http://bar/feed.xml > planet.html
diff --git a/converters/rss2html/Makefile b/converters/rss2html/Makefile
index a23f1fb5a32..37ca10e8f76 100644
--- a/converters/rss2html/Makefile
+++ b/converters/rss2html/Makefile
@@ -1,17 +1,17 @@
-# $NetBSD: Makefile,v 1.10 2006/02/05 23:08:29 joerg Exp $
+# $NetBSD: Makefile,v 1.11 2006/02/19 20:49:11 recht Exp $
#
-DISTNAME= rss2html-0.7.2
-PKGREVISION= 1
+DISTNAME= rss2html-0.8
CATEGORIES= converters
-MASTER_SITES= ftp://ftp.nopcode.org/prj/rss2html/
+MASTER_SITES= http://cvs.nopcode.org/ftp/rss2html/ \
+ ftp://ftp.nopcode.org/prj/rss2html/
MAINTAINER= pancake@phreaker.net
-HOMEPAGE= http://www.nopcode.org/?t=rss2html
+HOMEPAGE= http://www.nopcode.org/blog/rss2html.html
COMMENT= RSS to HTML converter
PKG_INSTALLATION_TYPES= overwrite pkgviews
-
+GNU_CONFIGURE= YES
USE_TOOLS+= gmake
INSTALLATION_DIRS+= bin
diff --git a/converters/rss2html/PLIST b/converters/rss2html/PLIST
index edcd9cd98cd..cc9ec4981c7 100644
--- a/converters/rss2html/PLIST
+++ b/converters/rss2html/PLIST
@@ -1,5 +1,8 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2004/02/16 02:00:34 minskim Exp $
+@comment $NetBSD: PLIST,v 1.2 2006/02/19 20:49:11 recht Exp $
bin/rss2html
+man/man1/rss2html.1
share/doc/rss2html/README
share/doc/rss2html/rss2html.links
+share/doc/rss2html/rss2html.template
+share/doc/rss2html/usage.example
@dirrm share/doc/rss2html
diff --git a/converters/rss2html/distinfo b/converters/rss2html/distinfo
index 947f3352f9f..742f77c515f 100644
--- a/converters/rss2html/distinfo
+++ b/converters/rss2html/distinfo
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.8 2005/07/29 04:40:47 grant Exp $
+$NetBSD: distinfo,v 1.9 2006/02/19 20:49:11 recht Exp $
-SHA1 (rss2html-0.7.2.tar.gz) = 5acce10e8a1bcc290f05572b50a8085128e796d5
-RMD160 (rss2html-0.7.2.tar.gz) = fe5a2343fcc613c65731580061eda621a70486b1
-Size (rss2html-0.7.2.tar.gz) = 6242 bytes
-SHA1 (patch-aa) = 54b4460fe9019064870d363ebc4e57eb06589eb3
+SHA1 (rss2html-0.8.tar.gz) = 4d463d8c1d832a069dfa2b0425dc22ef00e7e352
+RMD160 (rss2html-0.8.tar.gz) = 13014935c077a0c81479559888bac7eebcd8ba5c
+Size (rss2html-0.8.tar.gz) = 25584 bytes
diff --git a/converters/rss2html/patches/patch-aa b/converters/rss2html/patches/patch-aa
deleted file mode 100644
index ad3ba86f400..00000000000
--- a/converters/rss2html/patches/patch-aa
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-aa,v 1.3 2005/07/29 04:40:47 grant Exp $
-
---- src/Makefile.orig 2004-11-28 07:57:28.000000000 +1100
-+++ src/Makefile
-@@ -5,7 +5,7 @@ CFLAGS+=-DVERSION=\"${VERSION}\"
- OBJ=main.o rsslist.o config.o rssshow.o download.o
-
- all: ${OBJ}
-- $(CC) ${CFLAGS} ${OBJ} -o ${BIN}
-+ $(CC) ${CFLAGS} ${OBJ} ${LDFLAGS} ${LIBS} -o ${BIN}
-
- clean:
- rm -f ${BIN} ${OBJ}