Fixing LibXML error "Extra content at the end of document"

Support requests, bug reports, etc. go here. Dedicated servers / VDS hosting only
durval
Bear Rating Trainee
Bear Rating Trainee
Posts: 26
Joined: 27 Jul 2013, 13:35

Fixing LibXML error "Extra content at the end of document"

Postby durval » 27 Jul 2013, 18:04


User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: Fixing LibXML error "Extra content at the end of documen

Postby fox » 28 Jul 2013, 00:06

>Fox, what about incorporating similar code directly in TT-RSS?

https://en.wikipedia.org/wiki/Garbage_In%2C_Garbage_Out

durval
Bear Rating Trainee
Bear Rating Trainee
Posts: 26
Joined: 27 Jul 2013, 13:35

Re: Fixing LibXML error "Extra content at the end of documen

Postby durval » 28 Jul 2013, 02:21


Sidicas
Bear Rating Trainee
Bear Rating Trainee
Posts: 12
Joined: 15 May 2013, 14:24

Re: Fixing LibXML error "Extra content at the end of documen

Postby Sidicas » 30 Jul 2013, 08:23


durval
Bear Rating Trainee
Bear Rating Trainee
Posts: 26
Joined: 27 Jul 2013, 13:35

Re: Fixing LibXML error "Extra content at the end of documen

Postby durval » 01 Aug 2013, 17:59


User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: Fixing LibXML error "Extra content at the end of documen

Postby fox » 01 Aug 2013, 18:47

>and I agree with them: if the other readers accept it, then it may not be right "de juris", but it indeed is right "de facto", and TT-RSS should consider following suit.

Yes, let's all cater to idiots who produce broken content because there seems to be a lot of them and being idiots they are unlikely to change. Excellent idea right there. Instead of raising the bar, let's lower it even further.

I can understand why google reader wannabe services cater to their deranged demographic - they have a monetization strategy involving the cattle of their users. I am interested in nothing of the sort so both people who produce broken ass XML and people who demand support for it can go fuck themselves (or each other, whatever strikes their fancy). I hope I'm making myself clear enough because my position on this issue is not going to change.

People should learn to own up to their shitty programming and fix it instead of dragging everyone else into their cesspool of mediocrity.

>About libXML and other RSS Reader software: can you cite another RSS Reader software which has the same issues with these XML mistakes as TT-RSS? If not, do you agree that they are probably fixing the XML before feeding it to LibXML? That's exactly what I'm suggesting that TT-RSS should do, too.

If you had spent a few minutes searching this forum instead of posting essays on the subject of what tt-rss should do, you would have discovered several ways of doing just so which fit within the overall framework provided by the application.

Then again, that would require intelligence someone blindly assuming invariably broken XML as a de-facto standard would probably lack.

durval
Bear Rating Trainee
Bear Rating Trainee
Posts: 26
Joined: 27 Jul 2013, 13:35

Re: Fixing LibXML error "Extra content at the end of documen

Postby durval » 01 Aug 2013, 19:54


User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: Fixing LibXML error "Extra content at the end of documen

Postby fox » 01 Aug 2013, 20:29

>That's certainly one (rather radical, IMHO) way of putting it; the other way (which I prefer) is simply to try to be as interoperable as possible and so to cather to as much users as possible.

GLHF.

>On a side note, if you really don't care about monetization, perhaps you should consider taking out the "donate" button on the TT-RSS Wiki and also quit the flattr thing, saying that you are not interested in monetization and at the same time having these solicitations up might sound hypocritical

The fuck are you talking about? Wait, don't answer, I don't want to know. Stop posting instead. I'm about as interested in reading your wall of text essays as I am in working around broken XML.

gbcox
Bear Rating Master
Bear Rating Master
Posts: 149
Joined: 25 Apr 2013, 04:52

Re: Fixing LibXML error "Extra content at the end of documen

Postby gbcox » 01 Aug 2013, 20:32


AngryChris
Bear Rating Master
Bear Rating Master
Posts: 135
Joined: 08 Apr 2013, 02:42

Re: Fixing LibXML error "Extra content at the end of documen

Postby AngryChris » 01 Aug 2013, 21:02

I'm not looking to fan any flames here, but to provide a suggestion. Fox, would it be possible to somehow implement xmllint functionality in the application via official plug-in (meaning a plug-in that is distributed alongside TT-RSS)? I don't mean re-write things so TT-RSS itself "cleans up" or ignores bad XML or whatever, but put, say, a plug-in in the official app that makes xmllint (if installed on the system) easy to enable with a checkbox?

Plugin: af_xmllint
Description: If you have it installed, runs all posts through xmllint prior to insertion into the database.
Version: 1.0
Author: fox (I hope!)

Is this a reasonable feature request?

feader
Bear Rating Master
Bear Rating Master
Posts: 160
Joined: 26 Dec 2012, 20:03

Re: Fixing LibXML error "Extra content at the end of documen

Postby feader » 01 Aug 2013, 21:10


gbcox
Bear Rating Master
Bear Rating Master
Posts: 149
Joined: 25 Apr 2013, 04:52

Re: Fixing LibXML error "Extra content at the end of documen

Postby gbcox » 01 Aug 2013, 21:15

Fox can and will do whatever he wants... The plugin exists, and people can seek it out if they want it. Personally, I don't see the point other than you're just asking him to support a crutch. Seriously, what is so hard about asking people to fix their stuff? Is it really that hard? Is the content in these broken feeds just so compelling and irreplaceable to insist the world to hack around their sloppy code? I really don't get it.

User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: Fixing LibXML error "Extra content at the end of documen

Postby fox » 01 Aug 2013, 22:16


durval
Bear Rating Trainee
Bear Rating Trainee
Posts: 26
Joined: 27 Jul 2013, 13:35

Re: Fixing LibXML error "Extra content at the end of documen

Postby durval » 02 Aug 2013, 17:54

Last edited by durval on 02 Aug 2013, 18:15, edited 2 times in total.

durval
Bear Rating Trainee
Bear Rating Trainee
Posts: 26
Joined: 27 Jul 2013, 13:35

Re: Fixing LibXML error "Extra content at the end of documen

Postby durval » 02 Aug 2013, 17:55



Return to “Support”

Who is online

Users browsing this forum: No registered users and 6 guests