Your message dated Fri, 09 Sep 2011 14:49:41 +0000 with message-id <[email protected]> and subject line Bug#248056: fixed in rss2email 1:2.71-0.1 has caused the Debian Bug report #248056, regarding Support importing of OPML file to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 248056: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=248056 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: rss2email Version: 2.30-4 Many blogging sites allow users to export their blogrolls in [OPML format] [1], which can be imported by RSS readers. rss2email should support importing of OPML files. A patch is attached for the import feature. A sample OPML file is also attached for testing. [1]: http://www.opml.org/ ===== -- http://www.livejournal.com/~mannu ________________________________________________________________________ Yahoo! India Matrimony: Find your partner online. http://yahoo.shaadi.com/india-matrimony/*** rss2email.py.bak 2004-05-09 04:00:51.000000000 +0530 --- rss2email.py 2004-05-09 04:03:54.000000000 +0530 *************** *** 10,22 **** add feedurl [youremail] list delete n """ __version__ = "2.3" __author__ = "Aaron Swartz ([email protected])" __copyright__ = "(C) 2004 Aaron Swartz. GNU GPL 2." ___contributors__ = ["Dean Jackson ([email protected])", "Brian Lalor ([email protected])", ! "Joey Hess", 'Matej Cepl'] ### Vaguely Customizable Options ### --- 10,24 ---- add feedurl [youremail] list delete n + import xmlfile """ __version__ = "2.3" __author__ = "Aaron Swartz ([email protected])" __copyright__ = "(C) 2004 Aaron Swartz. GNU GPL 2." ___contributors__ = ["Dean Jackson ([email protected])", "Brian Lalor ([email protected])", ! "Joey Hess", 'Matej Cepl', ! "Manish Jethani ([email protected])"] ### Vaguely Customizable Options ### *************** *** 241,246 **** --- 243,261 ---- feeds, ff2 = load() feeds = feeds[:n] + feeds[n+1:] unlock(feeds, ff2) + + def import_(xmlfile, to=None): + import xml.sax.handler + import xml.sax + feeds, ff2 = load() + file = open(xmlfile) + class Handler (xml.sax.handler.ContentHandler): + def startElement(self, name, attrs): + if name == 'outline' and attrs.has_key('xmlUrl'): + url = attrs['xmlUrl'] + feeds.append(Feed(url, to)) + xml.sax.parse(file, Handler()) + unlock(feeds, ff2) def email(addr): feeds, ff2 = load() *************** *** 276,281 **** --- 291,298 ---- elif action == "delete": delete(int(args[0])) + elif action == "import": import_(*args) + else: raise ie, "invalid action"<?xml version="1.0" encoding="utf-8"?> <opml version="1.0"> <head> <title>Bloglines Subscriptions</title> <dateCreated>Fri, 30 Apr 2004 18:19:15 GMT</dateCreated> <ownerEmail>[email protected]</ownerEmail> </head> <body> <outline title="Subscriptions"> <outline title="Manish Jethani's Blog" htmlUrl="http://www.livejournal.com/users/mannu/" type="rss" xmlUrl="http://mannu.livejournal.com/data/rss" /> <outline title="New York Times: Technology" htmlUrl="http://www.nytimes.com/pages/technology/index.html" type="rss" xmlUrl="http://partners.userland.com/nytRss/technology.xml" /> <outline title="Slashdot" htmlUrl="http://slashdot.org/" type="rss" xmlUrl="http://slashdot.org/slashdot.rss" /> <outline title="Wired News" htmlUrl="http://www.wired.com/" type="rss" xmlUrl="http://www.wired.com/news_drop/netcenter/netcenter.rdf" /> </outline> </body> </opml>
--- End Message ---
--- Begin Message ---Source: rss2email Source-Version: 1:2.71-0.1 We believe that the bug you reported is fixed in the latest version of rss2email, which is due to be installed in the Debian FTP archive: rss2email_2.71-0.1.debian.tar.gz to main/r/rss2email/rss2email_2.71-0.1.debian.tar.gz rss2email_2.71-0.1.dsc to main/r/rss2email/rss2email_2.71-0.1.dsc rss2email_2.71-0.1_all.deb to main/r/rss2email/rss2email_2.71-0.1_all.deb rss2email_2.71.orig.tar.gz to main/r/rss2email/rss2email_2.71.orig.tar.gz A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Etienne Millon <[email protected]> (supplier of updated rss2email package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Format: 1.8 Date: Thu, 08 Sep 2011 13:50:15 +0200 Source: rss2email Binary: rss2email Architecture: source all Version: 1:2.71-0.1 Distribution: unstable Urgency: low Maintainer: David Watson <[email protected]> Changed-By: Etienne Millon <[email protected]> Description: rss2email - receive RSS feeds by email Closes: 248056 407822 447144 484034 518410 555447 567584 570126 Changes: rss2email (1:2.71-0.1) unstable; urgency=low . * Non-maintainer upload. * New upstream release. - don't ship html2text, depend on it instead (Closes: #555447, #570126, #484034). - Feed URL is included in a header (Closes: #447144, #518410). - OPML import/export is now possible (Closes: #248056). - pausing/resuming feed is now possible (Closes: #407822). - new patch setting __version__ to the correct number. * debian/copyright : - rss2email can be used under the GPL v2 or v3 (Closes: #567584). - add copyright information for feedparser. * Switched to 3.0 (quilt) format. * Remove Vcs information (dead links). * Update Homepage. * Add debian/source/format. * Bump Standards-Version to 3.9.2 (no changes needed). * Add working debian/watch file. * Add build-{arch,indep} targets. * Switch from python-support to dh_python2. Checksums-Sha1: 678c20e88955fb7121f2f3bd88f9b594762e2bcf 1079 rss2email_2.71-0.1.dsc 73e4ad6053cb66f0feb8f7947eeed71cb551dd30 62932 rss2email_2.71.orig.tar.gz dbdb468c231d715e97485d91cd103d11fc2dfba5 9691 rss2email_2.71-0.1.debian.tar.gz 396cbd86a07a4ec83f9936f4ea06d24cc4da8165 26202 rss2email_2.71-0.1_all.deb Checksums-Sha256: 995e4aae3c03cbe2e9550176ef943ebd35e18a204ba98c133be16494d806bf72 1079 rss2email_2.71-0.1.dsc c9c68b49d652e271a7e2b5bfbea81e101a285e5923960cd3a11f017ccf485ad2 62932 rss2email_2.71.orig.tar.gz 54cd85ab5201f5091b323d06028a63d61e2a71165e69455c720c823f97f5ff44 9691 rss2email_2.71-0.1.debian.tar.gz 131a8ffd2dfd7a1c644541926b2e4c0e98a5fb8ad65dcd051aba046e95311616 26202 rss2email_2.71-0.1_all.deb Files: 9058fc262da983610d2ec6cba1586a63 1079 mail optional rss2email_2.71-0.1.dsc 6aa370006bdc372c49caa285e292f762 62932 mail optional rss2email_2.71.orig.tar.gz d6cfb3d89ef42e7a7211791990e3981e 9691 mail optional rss2email_2.71-0.1.debian.tar.gz 78c42fe6a0989f7dcbaa5f9e1d4a0fef 26202 mail optional rss2email_2.71-0.1_all.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEARECAAYFAk5ovRIACgkQNFDtUT/MKpAxGwCgr46aULPpkROiU8XpV7mM5mSy h3cAnjY0pGbS6eIrqdKVzIa7yvi7V1ta =hNPI -----END PGP SIGNATURE-----
--- End Message ---

