rawdog-pluginshttp://offog.org/git/rawdog-plugins.atomgitatom2017-07-04T22:28:17Zhttp://offog.org/git/rawdog-plugins.git#eb833102cc9d650dd74add73ba495b3f20883e592017-07-04T22:28:17Z2017-07-04T22:28:17ZAdd xkcd1418.py as an example.Add xkcd1418.py as an example.
Adam Sampsonats@offog.orghttp://offog.org/git/rawdog-plugins.git#054d02102fdaf7ed826fdb7b430cb1d280ea9b842015-01-31T16:57:00Z2015-01-31T16:57:00ZAdd rel="next"/"prev" support to paged-output.Add rel="next"/"prev" support to paged-output.
Adam Sampsonats@offog.orghttp://offog.org/git/rawdog-plugins.git#095043c1f720544d9d3ac2789689b99a0cbbc3462014-03-06T15:45:58Z2014-03-06T15:45:58ZMake test-plugins executable.Make test-plugins executable.
Adam Sampsonats@offog.orghttp://offog.org/git/rawdog-plugins.git#e01e2aee143574f09a7206110eda68bf232507f12014-03-06T15:44:15Z2014-03-06T15:44:15ZAdd a patch for sidebarfeedwise.Add a patch for sidebarfeedwise.
Adam Sampsonats@offog.orghttp://offog.org/git/rawdog-plugins.git#cbb71f7fc54caa246069bd5fcee67390454718372013-08-02T12:02:36Z2013-08-02T12:02:36ZEscape text correctly in template parameters.Escape text correctly in template parameters.
Willem spotted this problem in the enclosure plugin, but having looked
over all of them, the same problem comes up elsewhere too.
This also adds tests for links.py, slashdot-bam.py and slashdot.py.
Adam Sampsonats@offog.orghttp://offog.org/git/rawdog-plugins.git#ecd033612e52827b0dd5c842fd1cfb5dc9d8907b2013-07-30T16:20:43Z2013-07-30T16:20:43ZUse perl rather than tac.Use perl rather than tac.
(No tac on FreeBSD...)
Adam Sampsonats@offog.orghttp://offog.org/git/rawdog-plugins.git#33f8673861722caf427ab4f37f4c36ab831730d92013-07-15T22:06:18Z2013-07-15T22:06:18Zarchive.py doesn't need to import feedparser.archive.py doesn't need to import feedparser.
(But if it did, it could just say "import feedparser" now.)
Adam Sampsonats@offog.orghttp://offog.org/git/rawdog-plugins.git#106fd11f6cbc8a21d47f0c4d7cdf81f92bd9acaf2013-07-12T12:46:21Z2013-07-12T12:46:21ZParse older wget output correctly too.Parse older wget output correctly too.
With LC_ALL=C, old wget quotes strings `like this', and new wget 'like
this'.
Adam Sampsonats@offog.orghttp://offog.org/git/rawdog-plugins.git#4aa947e89c3d1def615235202444a618a064232f2013-07-12T12:13:23Z2013-07-12T12:13:23ZFix enclosure.py for current feedparser.Fix enclosure.py for current feedparser.
Thanks to Willem for reporting this -- it was previously using the
"enclosures" list, which is now synthesised by FeedparserDict, and thus
isn't available for plugins.
Adam Sampsonats@offog.orghttp://offog.org/git/rawdog-plugins.git#8b1b007b15488ef49123d8e218d904e81a534e9c2013-07-12T12:13:10Z2013-07-12T12:13:10ZAdd tests for enclosure.py.Add tests for enclosure.py.
Adam Sampsonats@offog.orghttp://offog.org/git/rawdog-plugins.git#4c0db19731040861725b5d1e038f30ddaa4457952013-07-12T11:56:37Z2013-07-12T11:56:37ZAdd tests for article-stats.Add tests for article-stats.
Adam Sampsonats@offog.orghttp://offog.org/git/rawdog-plugins.git#6becb6262277840c7bde77fb498a0cc73e7f79ed2013-07-12T11:44:23Z2013-07-12T11:44:23ZAdd tests for paged-output.Add tests for paged-output.
Adam Sampsonats@offog.orghttp://offog.org/git/rawdog-plugins.git#f529a94f8b1ea2734b98c6e98593b2f8f47386c42013-07-11T13:30:14Z2013-07-11T13:30:14ZTest status-log.py.Test status-log.py.
Adam Sampsonats@offog.orghttp://offog.org/git/rawdog-plugins.git#c745e13833470a3f43f00dc447996b52d5bb68372013-07-11T13:30:06Z2013-07-11T13:30:06ZUse exists.Use exists.
Adam Sampsonats@offog.orghttp://offog.org/git/rawdog-plugins.git#2ef6337ca7a197edde45c8c1c6cf4f261ae12f8d2013-07-11T13:29:53Z2013-07-11T13:29:53ZAdd a note about timeout detection.Add a note about timeout detection.
Adam Sampsonats@offog.orghttp://offog.org/git/rawdog-plugins.git#d551b0a8d8817dffeff6ce10d7d79c2f434918772013-07-10T15:28:50Z2013-07-10T15:28:50ZRemove a FIXME that I fixed.Remove a FIXME that I fixed.
Adam Sampsonats@offog.orghttp://offog.org/git/rawdog-plugins.git#4d9875fa8a18de5de7935393a4e3a83ed191fe9b2013-07-09T22:49:48Z2013-07-09T22:49:48ZAdd tests for select-feeds and since-last.Add tests for select-feeds and since-last.
Adam Sampsonats@offog.orghttp://offog.org/git/rawdog-plugins.git#60901ee4a9cf20e8afb29ccd8c2654d4ef4952a42013-07-09T22:48:43Z2013-07-09T22:48:43ZUpdate year.Update year.
Adam Sampsonats@offog.orghttp://offog.org/git/rawdog-plugins.git#da5d77df309fdaeacec654bac44570bd51d650102013-07-09T22:48:23Z2013-07-09T22:48:23Zoutput_filter is obsolete; use output_sorted_filter.output_filter is obsolete; use output_sorted_filter.
Adam Sampsonats@offog.orghttp://offog.org/git/rawdog-plugins.git#405135fe21d1a358cb1af15322f97bc419f17eee2013-07-09T22:35:08Z2013-07-09T22:35:08ZMake truncate strip whitespace after removing tags.Make truncate strip whitespace after removing tags.
Adam Sampsonats@offog.orghttp://offog.org/git/rawdog-plugins.git#2840c4a9722232561cb04d62c2fab1469e2bcab02013-07-09T22:32:22Z2013-07-09T22:32:22ZAdd the start of a test suite for the plugins.Add the start of a test suite for the plugins.
This is intended to be run from rawdog's test script.
Adam Sampsonats@offog.orghttp://offog.org/git/rawdog-plugins.git#631ea65a6ba7f66f43c319baea41d4e3906066a52013-07-09T22:30:13Z2013-07-09T22:30:13ZMake sure that all plugins have a copyright notice.Make sure that all plugins have a copyright notice.
I'm not so much concerned about asserting copyright as I am about making
sure the authors are attributed correctly -- for some of these, I had to
dig back through my mail to find out who wrote them.
Adam Sampsonats@offog.orghttp://offog.org/git/rawdog-plugins.git#a7a723eac3f84114de0b0a9292e56f751cd476a82013-07-09T22:07:39Z2013-07-09T22:07:39ZFix <%= foo %> when foo isn't a string.Fix <%= foo %> when foo isn't a string.
That is, revert the code to how it actually worked in the original...
Adam Sampsonats@offog.orghttp://offog.org/git/rawdog-plugins.git#bd3ce3ab42c9163e32639546026012002388bf8a2013-07-09T21:58:16Z2013-07-09T21:58:16ZAdd a date to digest-auth.Add a date to digest-auth.
Adam Sampsonats@offog.orghttp://offog.org/git/rawdog-plugins.git#dad9191ca3e4a60aec57e5e6701c9ba68094e4ce2013-07-09T21:58:00Z2013-07-09T21:58:00ZForce the locale -- else the quotes change!Force the locale -- else the quotes change!
Adam Sampsonats@offog.orghttp://offog.org/git/rawdog-plugins.git#42452117d3ed502f53bc974f5fd3738ce870c61c2013-07-09T21:57:55Z2013-07-09T21:57:55ZFix comment.Fix comment.
Adam Sampsonats@offog.orghttp://offog.org/git/rawdog-plugins.git#41d90d67a59da74b3e064449e3e5ea1ec9401b762013-07-09T21:57:31Z2013-07-09T21:57:31ZAdd a proper copyright notice to vellum-templates.Add a proper copyright notice to vellum-templates.
Adam Sampsonats@offog.orghttp://offog.org/git/rawdog-plugins.git#c7587e02284aa3dac380bf75e757f6314b66ac9a2013-07-09T19:44:51Z2013-07-09T19:44:51ZAdd a flag to enable detwit on non-Twitter feeds, for testing.Add a flag to enable detwit on non-Twitter feeds, for testing.
Adam Sampsonats@offog.orghttp://offog.org/git/rawdog-plugins.git#1a695e26696f7df6ebc36e728453e34837b4c5d32013-07-08T18:47:58Z2013-07-08T18:47:58ZI've made get_template default to returning the page.I've made get_template default to returning the page.
... so revert my previous change, to avoid breaking plugins against
older versions of rawdog.
Adam Sampsonats@offog.orghttp://offog.org/git/rawdog-plugins.git#ff7a2e550b8407837f03fa906891eeaee3c749222013-07-08T18:42:38Z2013-07-08T18:42:38ZUpdate plugins that used get_template for rawdog 2.15.Update plugins that used get_template for rawdog 2.15.
Adam Sampsonats@offog.orghttp://offog.org/git/rawdog-plugins.git#61d7d9a73738d261299124e824904a80250d8cf82013-06-24T13:10:39Z2013-06-24T13:10:39ZUpdate link to feedparser docs (thanks to Paolo Greppi).Update link to feedparser docs (thanks to Paolo Greppi).
Adam Sampsonats@offog.orghttp://offog.org/git/rawdog-plugins.git#1e73a55cea3cb3396ca3471e0c515d2deaebd4582012-10-26T18:51:03Z2012-10-26T18:51:03ZAdd detwit, which I had sitting around.Add detwit, which I had sitting around.
Adam Sampsonats@offog.orghttp://offog.org/git/rawdog-plugins.git#180c8a39366ea9b4b1940f8a3a8b839ed72e26402012-10-26T18:49:39Z2012-10-26T18:49:39ZAllow article-filter to chain into other plugins.Allow article-filter to chain into other plugins.
Adam Sampsonats@offog.orghttp://offog.org/git/rawdog-plugins.git#d1d2671e78d28887be6522fcfb99de6b024968fc2012-01-06T17:37:18Z2012-01-06T17:37:18ZAdd since-last.Add since-last.
Adam Sampsonats@offog.orghttp://offog.org/git/rawdog-plugins.git#1bf78ec4eac66c6185f606e4e0cfab18a266526a2012-01-06T16:34:07Z2012-01-06T16:34:07ZAdd a documentation comment to backwards.Add a documentation comment to backwards.
Adam Sampsonats@offog.orghttp://offog.org/git/rawdog-plugins.git#68e114f0fb7ecd6a5a21ffa4ef621a13743bb8f22012-01-06T16:32:36Z2012-01-06T16:32:36ZMake paged-output show the latest date for each page.Make paged-output show the latest date for each page.
This is more useful if you're also reversing the output order.
Adam Sampsonats@offog.orghttp://offog.org/git/rawdog-plugins.git#e556291ca9546d97da41ff6dff2e2a43a380ba652012-01-06T16:32:13Z2012-01-06T16:32:13ZMake status-log more robust: corrupted files, clock jumps.Make status-log more robust: corrupted files, clock jumps.
Adam Sampsonats@offog.orghttp://offog.org/git/rawdog-plugins.git#f31ec2c44d0209e2afdcc0fc76d6cde6f546b4432010-01-17T19:11:49Z2010-01-17T19:11:49ZShow dates when writing paged-output files.Show dates when writing paged-output files.
Adam Sampsonats@offog.orghttp://offog.org/git/rawdog-plugins.git#2affdceb637b7dc51288a21c0b1ab273dd9e12232009-09-07T21:34:44Z2009-09-07T21:34:44ZWrite out articles even if they don't have dates.Write out articles even if they don't have dates.
Bug found by Florian Kohl.
Adam Sampsonats@offog.orghttp://offog.org/git/rawdog-plugins.git#c273a82147c06ad4c407e510c5a423773b37ee802009-05-06T17:01:42Z2009-05-06T17:01:42ZAdd a plugin that automatically downloads local copies of articles for offline reading.Add a plugin that automatically downloads local copies of articles for offline reading.
Adam Sampsonats@offog.orghttp://offog.org/git/rawdog-plugins.git#47118127a295309d0c174da41c593f5a9a6c85072009-02-25T23:09:03Z2009-02-25T23:09:03ZMake status-log handle rawdog_exception.Make status-log handle rawdog_exception.
Adam Sampsonats@offog.orghttp://offog.org/git/rawdog-plugins.git#11a3cecdba61122d59ed04672c7dfede93fd26f82009-02-15T16:29:58Z2009-02-15T16:29:58ZAdd some documentation for the options.Add some documentation for the options.
Adam Sampsonats@offog.orghttp://offog.org/git/rawdog-plugins.git#95c11686c54d75f60b36b432f6179d8073d4906e2009-02-15T16:29:48Z2009-02-15T16:29:48ZGenerate RFC822 dates correctly in non-English locales.Generate RFC822 dates correctly in non-English locales.
Adam Sampsonats@offog.orghttp://offog.org/git/rawdog-plugins.git#b1e335a82beed97e5c67a572974e24bb0a1852e02009-02-15T16:29:36Z2009-02-15T16:29:36ZAdd an option to limit the number of entries in the feed.Add an option to limit the number of entries in the feed.
Adam Sampsonats@offog.orghttp://offog.org/git/rawdog-plugins.git#d3a0f87864ef8bc7345b9740f51b61715e6fc47c2009-02-15T16:29:13Z2009-02-15T16:29:13ZWhen converting articles to XML, sanitise all the content using rawdog's functions. This should also get rid of the encoding problems it looks like the original version was having.When converting articles to XML, sanitise all the content using rawdog's
functions. This should also get rid of the encoding problems it looks
like the original version was having.
Adam Sampsonats@offog.orghttp://offog.org/git/rawdog-plugins.git#b8f3f3db0061c878e9b9da05a51576a11760b7872009-02-15T16:28:54Z2009-02-15T16:28:54ZHandle feed titles more gracefully: use the real feed title if no "name" is defined.Handle feed titles more gracefully: use the real feed title if no "name"
is defined.
Adam Sampsonats@offog.orghttp://offog.org/git/rawdog-plugins.git#d87baca954445364326db8e0e9e80a674ae82aa42009-02-15T16:28:40Z2009-02-15T16:28:40ZMake all the previously-hardcoded stuff in the output configurable.Make all the previously-hardcoded stuff in the output configurable.
Adam Sampsonats@offog.orghttp://offog.org/git/rawdog-plugins.git#8c52a3a710967730af662efb73125d88fd0141cf2009-02-15T16:28:20Z2009-02-15T16:28:20ZRestructure the code so there's a write_ method for each type of output, all of which are called in the output_write hook.Restructure the code so there's a write_ method for each type of output,
all of which are called in the output_write hook.
This makes a lot of the class attributes into local variables.
Adam Sampsonats@offog.orghttp://offog.org/git/rawdog-plugins.git#9842c84d65a9e4878304f2b7e8239bacf16f0d462009-02-15T16:27:55Z2009-02-15T16:27:55ZMake the output filenames be real configuration options, rather than using defines.Make the output filenames be real configuration options, rather than
using defines.
In addition, tidy up the copyright notice.
Adam Sampsonats@offog.orghttp://offog.org/git/rawdog-plugins.git#333fdb97fa343bff5baf3deb7c9dcec6a71e9ef72009-02-15T16:26:59Z2009-02-15T16:26:59ZAdd Jonathan Riddell's RSS plugin.Add Jonathan Riddell's RSS plugin.
Adam Sampsonats@offog.org