• Bug#266046: raggle can not import OPML from AmphetaDesk

    From Juhapekka Tolvanen@1:229/2 to All on Mon Aug 16 15:40:12 2004
    From: [email protected]

    Package: raggle
    Version: 0.3.1-4


    I tried to import my RSS-feeds from AmphetaDesk to raggle and all I got
    was gazillion error messages like these:


    Warning: skipping incomplete OPML entry: <outline date_downloaded='2004-07-17 14:11:07' title='The Register' xmlurl='http://www.theregister.co.uk/tonys/slashdot.rdf' description='Biting the hand that feeds IT' filename='theregister.xml' htmlurl='http://
    www.theregister.co.uk/' date_added='2002-09-29 08:04:59' email='[email protected]'/>
    Warning: skipping incomplete OPML entry: <outline date_downloaded='2004-07-17 14:11:33' title='Pigdog Journal' xmlurl='http://www.pigdog.org/pigdog.rdf' description='The Online Handbook of Bad People of the Future' filename='pigdogjournal.xml' htmlurl='
    http://www.pigdog.org/' date_added='2002-09-29 07:28:21' email='[email protected]'/>


    I can guess, where the bug is: raggle has the same problem that a RSS-reader called Sage has:

    http://bugzilla.mozdev.org/show_bug.cgi?id=6995

    So, please, don't be so case-sensitive with XML-tags and their attributes.


    --
    Juhapekka "naula" Tolvanen * * http colon slash slash iki dot fi slash juhtolv "kun aamun veitsi taivaan halkaisee, valo repii huoneen rikki, hajalle. kielen paksuus t�ytt�� koko saastaisen suun. kasvot kuivaa savea ja lantaa." CMX

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Michael Ablassmeier@1:229/2 to Juhapekka Tolvanen on Wed Aug 18 12:20:06 2004
    From: [email protected]

    hi Juhapekka,

    On Mon, Aug 16, 2004 at 04:25:22PM +0300, Juhapekka Tolvanen wrote:
    I tried to import my RSS-feeds from AmphetaDesk to raggle and all I got
    was gazillion error messages like these:

    well, i've never used AmphetaDesk, can you please send or point me to
    some opml files created with this Tool, so i can reproduce raggles
    behavior?

    http://bugzilla.mozdev.org/show_bug.cgi?id=6995

    seems to be down, atm :(

    bye,
    - michael

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.2.4 (GNU/Linux)

    iD8DBQFBIymHEFV7g4B8rCURAjuCAKCU6RNkQv7zLS6vIjytKHxuesfTXgCgxPxI nG0PzpHPNDfjCQDdVLke33o=
    =W1Pw
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Juhapekka Tolvanen@1:229/2 to All on Wed Aug 18 13:10:10 2004
    From: [email protected]

    On Wed, 18 Aug 2004, +13:18:12 EEST (UTC +0300),
    Michael Ablassmeier <[email protected]> pressed some keys:

    On Mon, Aug 16, 2004 at 04:25:22PM +0300, Juhapekka Tolvanen wrote:
    I tried to import my RSS-feeds from AmphetaDesk to raggle and all I got
    was gazillion error messages like these:

    well, i've never used AmphetaDesk, can you please send or point me to
    some opml files created with this Tool, so i can reproduce raggles
    behavior?

    http://people.cc.jyu.fi/~juhtolv/tmp/bugreports/sage/myChannels.opml


    --
    Juhapekka "naula" Tolvanen * * http colon slash slash iki dot fi slash juhtolv "kun aamun veitsi taivaan halkaisee, valo repii huoneen rikki, hajalle. kielen paksuus t�ytt�� koko saastaisen suun. kasvot kuivaa savea ja lantaa." CMX

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Michael Ablassmeier@1:229/2 to Juhapekka Tolvanen on Wed Aug 18 13:30:13 2004
    From: [email protected]

    --UlVJffcvxoiEqYs2
    Content-Type: text/plain; charset=us-ascii
    Content-Disposition: inline

    tags 266046 + patch
    Thanks

    On Wed, Aug 18, 2004 at 01:47:08PM +0300, Juhapekka Tolvanen wrote:
    http://people.cc.jyu.fi/~juhtolv/tmp/bugreports/sage/myChannels.opml

    attached patch seems to fix this bug, at least, for me.

    bye,
    - michael

    --UlVJffcvxoiEqYs2
    Content-Type: text/plain; charset=us-ascii
    Content-Disposition: attachment; filename="raggle.url.diff" Content-Transfer-Encoding: quoted-printable

    --- /usr/bin/raggle.orig 2004-08-18 13:01:57.000000000 +0200
    +++ /usr/bin/raggle 2004-08-18 13:03:42.000000000 +0200
    @@ -771,8 +771,8 @@
    doc = REXML::Document.new(contents)
    doc.root.elements.each('//outline') do |outline|
    title = outline.attributes['title']
    - url = outline.attributes['xmlUrl']
    - site = outline.attributes['htmlUrl'] || ''
    + url = outline.attributes['xmlUrl'] || outline.attributes['xmlurl']
    + site = outline.attributes['htmlUrl'] || outline.attributes['htmlurl'] || ''
    desc = outline.attributes['description'] || ''

    if title.nil? || url.nil?

    --UlVJffcvxoiEqYs2--

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.2.4 (GNU/Linux)

    iD8DBQFBIzolEFV7g4B8rCURAlUmAKDB6cGbKPdCjkMbpQnXp1NvQukUUQCgzfTy gbotdcWHVw9ebb9ATLhUsDE=
    =wNB7
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)