Author

Topic: Non-truncated RSS feeds (Read 1168 times)

sr. member
Activity: 321
Merit: 250
October 08, 2014, 10:48:09 PM
#2
The truncation breaks the html badly.   Real example from this site's RSS feed today:

Quote
                       
https://bitcointalk.org/Smileys/default/shocked.gif" alt="Shocked" border="0" />

http://hocca.wmod.llnwd.net/a4502/e2/20141008161400_9692_990.wmv" target="_blank">https://ip.bitcointalk.org/?u=http%3A%2F%2Fs27.postimg.org%2Fjvou3ugsj%2Fzandreas.png]]>
                       


Notice that the final tag is truncated.  What isn't immediately obvious is that the image URL itself is truncated. 

The full image URL is:

https://ip.bitcointalk.org/?u=http%3A%2F%2Fs27.postimg.org%2Fjvou3ugsj%2Fzandreas.png&t=545&c=QfibD-q76XHMGA

NOT

https://ip.bitcointalk.org/?u=http%3A%2F%2Fs27.postimg.org%2Fjvou3ugsj%2Fzandreas.png

The latter URL gives a "image proxy invalid" image.

So in this instance we have:

1) unterminated html tag/attribute
full member
Activity: 179
Merit: 151
-
August 29, 2014, 06:38:01 PM
#1
As described at http://wiki.simplemachines.org/smf/SMF2.0:News_and_newsletters#Settings it is possible to change the RSS feeds so that they do not truncate the text (setting Maximum message length to zero means no limit).

Currently the limit is set to some small number, which makes the RSS feed unusable without a web browser. The wiki page I linked recommends this "because some users have broken RSS readers", which is a non-sequitor, but presumably is the reason for this setting.

If we could remove the RSS message length limit, that'd be awesome. I get most of my news over RSS in my email inbox, and it severely interrupts my flow when individual feeds require special attention to be readable. It also prevents me from forwarding or archiving forum messages.

Thanks!

Andrew
Jump to:
© 2020, Bitcointalksearch.org