GazNewt
Posts: 2
Joined: Wed Mar 03, 2010 6:24 pm

Postby GazNewt » Wed Mar 03, 2010 6:27 pm

I get this error on some feeds which stops Awasu from working with it. For example on

Code: Select all

http://feeds2.feedburner.com/SquaredRoot/


I get this error when Awasu tries to read the feed :

Code: Select all

Can't update the channel
XML parse failed (9:L1126:C61) ; junk after document element


This is the only thing that will make me think twice before I buy Awasu as couple of good feeds aren't accepted by Awasu. Is this a bug? Can it be resolved?

Thanks


User avatar
support
Site Admin
Posts: 3021
Joined: Fri Feb 07, 2003 12:48 pm
Location: Melbourne, Australia
Contact:

Postby support » Wed Mar 03, 2010 9:16 pm

In the Details tab of the channel's Properties dialog, there is a <i>Validate</i> button that you can click to send the feed to the Feed Validator for checking. This is the de facto standard for checking feeds and it says exactly the same thing.

If you scroll to the bottom of its report, you can see that there's a bit of extra HTML after the closing <tt><rss></tt> tag and the rules of XML are very clear, this kind of thing must be flagged as an error. Having said that, if the feed can't be fixed and you absolutely want to subscribe to it, Awasu allows plugin channels to be written so you could have one that strips off this trailing stuff and make the feed valid.

GazNewt
Posts: 2
Joined: Wed Mar 03, 2010 6:24 pm

Postby GazNewt » Wed Mar 03, 2010 10:24 pm

Ok I understand that the feed itself is invalid but as a user it would be brilliant if Awasu just handled it somehow. Is it really so invalid that Awasu can't do anything with it? Is it a common type of invalid rss feed that can be worked around so you can support these type of real-world rss feeds?

I can add the feed to My Yahoo without problem

Hope this is constructive, I want to buy Awasu

User avatar
support
Site Admin
Posts: 3021
Joined: Fri Feb 07, 2003 12:48 pm
Location: Melbourne, Australia
Contact:

Postby support » Thu Mar 04, 2010 7:06 am

GazNewt wrote:Ok I understand that the feed itself is invalid but as a user it would be brilliant if Awasu just handled it somehow. Is it really so invalid that Awasu can't do anything with it? Is it a common type of invalid rss feed that can be worked around so you can support these type of real-world rss feeds?

There are good reasons why it's not wise to accept invalid feeds like this. Awasu does try to do some automatic fix-up of certain feed errors but this one is not common enough to warrant such hackery.

However, I said it would be easy to write a plugin that worked around the problem and to prove it, I went ahead and did it. Source is included so you can see just how simple it is. Have fun :-)

User avatar
kevotheclone
Posts: 239
Joined: Mon Sep 08, 2008 7:16 pm
Location: Elk Grove, California

Postby kevotheclone » Thu Mar 04, 2010 8:40 am

FWIW I emailed the guy at the Squared Root blog and told him his feed was invalid. I even sent him the link to Feed Validator:
http://www.feedvalidator.org/check?url=http://feeds2.feedburner.com/SquaredRoot/

This is actually the best thing you can do for the feed publisher; let them know that they have a problem so they can fix it and it'll be useable by a wider range of software.

Accepting mal-formed feeds is kind of like accepting mal-formed HTML, like Netscape and Microsoft did in the '90s; it wasn't good for the art and craft of HTML authoring.

@Taka I don't see the source code in the ZIP file. Understandable, as you whipped it together so quickly! :bow:

User avatar
support
Site Admin
Posts: 3021
Joined: Fri Feb 07, 2003 12:48 pm
Location: Melbourne, Australia
Contact:

Postby support » Thu Mar 04, 2010 8:56 am

kevotheclone wrote:I don't see the source code in the ZIP file.

Oops :oops: Try again :-)

User avatar
kevotheclone
Posts: 239
Joined: Mon Sep 08, 2008 7:16 pm
Location: Elk Grove, California

Postby kevotheclone » Thu Mar 04, 2010 9:03 am

Got it!

GazNewt get it, and begin to wonder... is there anything that Awasu can't do?

BTW, make note of the excellent Awasu support!

User avatar
kevotheclone
Posts: 239
Joined: Mon Sep 08, 2008 7:16 pm
Location: Elk Grove, California

Postby kevotheclone » Fri Mar 05, 2010 8:39 pm

FWIW I tested the new "Remove Junk After Document Element" Channel Plugin on Squared Root feed and it worked great. :D

TroyGoode
Posts: 1
Joined: Mon Jun 07, 2010 11:39 pm
Contact:

Postby TroyGoode » Mon Jun 07, 2010 11:43 pm

kevoclone: thanks for pointing out the issue, which I've now resolved. one of my blog posts contained text copy & pasted from another site (microsoftpdc.com). unfortunately this text seems to have contained a bunch of crap MS Word markup that caused the feed validation to fail.

you know what would be cool? if someone developed a validation "watcher" that you could have watch certain URLs and email you if validation started failing for any reason. =)

User avatar
support
Site Admin
Posts: 3021
Joined: Fri Feb 07, 2003 12:48 pm
Location: Melbourne, Australia
Contact:

Postby support » Tue Jun 08, 2010 2:01 pm

TroyGoode wrote:you know what would be cool? if someone developed a validation "watcher" that you could have watch certain URLs and email you if validation started failing for any reason. =)

Yah, that would be very cool indeed :cool: :-)

User avatar
kevotheclone
Posts: 239
Joined: Mon Sep 08, 2008 7:16 pm
Location: Elk Grove, California

Postby kevotheclone » Thu Jun 10, 2010 7:30 am

Yes this is very cool! 8)

Once again Awasu's various extensibility mechanisms are astounding and of course the prompt support ain't bad either. :wink: :bow:

Feeling somewhat inspired I added a page to Awasu's wiki that lists the different ways that Awasu can be extended and the skillset needed to create or modify an extension:
Extensibility Skillsets

I'm not sure that the list is complete or 100% accurate, so Taka if you'd be kind enough to review it and make any needed edits or let me know what I've missed and I'll updated it; It'd appreciate it.

It's really nice that most extension mechanisms are not tightly tied to any specific programming language, library or virtual machine.

User avatar
support
Site Admin
Posts: 3021
Joined: Fri Feb 07, 2003 12:48 pm
Location: Melbourne, Australia
Contact:

Postby support » Thu Jun 10, 2010 9:39 am

kevotheclone wrote:I'm not sure that the list is complete or 100% accurate, so Taka if you'd be kind enough to review it and make any needed edits or let me know what I've missed and I'll updated it; It'd appreciate it.

I noticed that page went up, thanks. There was one small omission which I've updated the page to include...


Return to “Awasu - Bug Reports”

Who is online

Users browsing this forum: Yahoo [Bot] and 3 guests