pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/converters/rss2html update to rsshtml-0.8



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9f2d15349c4c
branches:  trunk
changeset: 508469:9f2d15349c4c
user:      recht <recht%pkgsrc.org@localhost>
date:      Sun Feb 19 20:49:11 2006 +0000

description:
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:

 converters/rss2html/DESCR            |  16 +++++++++++++---
 converters/rss2html/Makefile         |  12 ++++++------
 converters/rss2html/PLIST            |   5 ++++-
 converters/rss2html/distinfo         |   9 ++++-----
 converters/rss2html/patches/patch-aa |  13 -------------
 5 files changed, 27 insertions(+), 28 deletions(-)

diffs (92 lines):

diff -r 5ba322b83ecc -r 9f2d15349c4c converters/rss2html/DESCR
--- a/converters/rss2html/DESCR Sun Feb 19 19:32:36 2006 +0000
+++ b/converters/rss2html/DESCR Sun Feb 19 20:49:11 2006 +0000
@@ -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.
+
+The HTML generation can be done by using user defined templates.
 
-i.e:  $ rss2html http://slashdot.org/index.rss | lynx -stdin
+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 -r 5ba322b83ecc -r 9f2d15349c4c converters/rss2html/Makefile
--- a/converters/rss2html/Makefile      Sun Feb 19 19:32:36 2006 +0000
+++ b/converters/rss2html/Makefile      Sun Feb 19 20:49:11 2006 +0000
@@ -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@localhost
-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 -r 5ba322b83ecc -r 9f2d15349c4c converters/rss2html/PLIST
--- a/converters/rss2html/PLIST Sun Feb 19 19:32:36 2006 +0000
+++ b/converters/rss2html/PLIST Sun Feb 19 20:49:11 2006 +0000
@@ -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 -r 5ba322b83ecc -r 9f2d15349c4c converters/rss2html/distinfo
--- a/converters/rss2html/distinfo      Sun Feb 19 19:32:36 2006 +0000
+++ b/converters/rss2html/distinfo      Sun Feb 19 20:49:11 2006 +0000
@@ -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 -r 5ba322b83ecc -r 9f2d15349c4c converters/rss2html/patches/patch-aa
--- a/converters/rss2html/patches/patch-aa      Sun Feb 19 19:32:36 2006 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -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}



Home | Main Index | Thread Index | Old Index