It is currently March 29th, 2024, 1:21 pm

FeedReader w/ sorting

RSS, ATOM and other feeds, GMail, Stocks, any information retrieved from the internet
User avatar
Mordasius
Posts: 1167
Joined: January 22nd, 2011, 4:23 pm
Location: GMT +8

Re: FeedReader w/ sorting

Post by Mordasius »

rainusero wrote:In order to get the functionality I mentioned above, edition of LUA script isn't required, right ?


No it is not. Just play around with the .ini file to get the layout and colours you want.
rainusero
Posts: 21
Joined: May 9th, 2012, 10:11 am

Re: FeedReader w/ sorting

Post by rainusero »

Say at least in which section should I put this "random" X, Y values...

I already have the layout and colors which I wanted to have.

This bullet-mark and empty space is the last issue which I can not handle on my own...

Edit: check http://feeds.feedburner.com/blogspot/IogfZ
Bullet-mark doesn't show on and each items seem to be unsorted...
User avatar
Mordasius
Posts: 1167
Joined: January 22nd, 2011, 4:23 pm
Location: GMT +8

Re: FeedReader w/ sorting

Post by Mordasius »

rainusero wrote:When feed item is no longer considered as a new one, bullet-mark disappears. Then the text of the feed item should go back to the left to "equalize" the line and don't leave an empty space on the left side, shouldn't it (like it was on yesterday's version) ? What is the possibility to achieve such an effect ?
The text has always been aligned with bullet-marks appearing to the left (as you can see from the screenshot in the first post of this thread). It actually looks a bit of a mess if the un-bulleted items are aligned with the bulleted items. You could left-align everything, but that would be most easily accomplished by going back to bulleting everything in the lua script rather than with meters.
rainusero wrote:Say at least in which section should I put this "random" X, Y values...
If you are determined to do it in the .ini file, you will have to change the X and Y values in [sFeedText] and [sNew]. I wouldn't advise using random values and do be aware that the WebParser Plugin doesn't like being disturbed while it is working. Change the X and Y values a few pixels at a time and don't refresh the skin until Webparser has finished downloading the feeds.
rainusero wrote:Edit: check http://feeds.feedburner.com/blogspot/IogfZ
Bullet-mark doesn't show on and each items seem to be unsorted...
The problem was that the site records the publication date down to milliseconds. This was causing the lua script to stutter and squirm but Kaleri conjured up a fix which has been incorporated in the updated version of the FeedReader on Deviant Art.
rainusero
Posts: 21
Joined: May 9th, 2012, 10:11 am

Re: FeedReader w/ sorting

Post by rainusero »

The text has always been aligned with bullet-marks appearing to the left (as you can see from the screenshot in the first post of this thread). It actually looks a bit of a mess if the un-bulleted items are aligned with the bulleted items. You could left-align everything, but that would be most easily accomplished by going back to bulleting everything in the lua script rather than with meters.
Would you be so kind to give me some support by writing proper LUA code to address this feature ?

Character disappearance

Check feeds bellow:
http://www.webhostingtalk.pl/rss/forums/1-webhostingtalkpl-wszystkie-tematy/
http://twojepc.pl/news_rss.php
http://haxnet.pl/rss.html
http://www.haxite.org/rss_view.php?kanal=newsy

All four are in polish language - you don't have to understand them but if you look carefully you'll see that some letters (polish diacritics marks) are missing.

Interesting situation because on the other polish sites it works properly :)
http://feeds.feedburner.com/varlogpl
http://feeds.feedburner.com/OSnewspl

Where are functions:
function MarkRead(a, b)
function MarkUnread(a, b)
function ToggleUnread(a, b)
Are the unnecessary ? Are they no longer needed ?
Last edited by rainusero on October 5th, 2012, 12:48 pm, edited 1 time in total.
User avatar
Mordasius
Posts: 1167
Joined: January 22nd, 2011, 4:23 pm
Location: GMT +8

Re: FeedReader w/ sorting

Post by Mordasius »

rainusero wrote:Would you be so kind to give me some support by writing proper LUA code to address this feature ?
Sorry but that has to be quite a low priority for me at the moment. Why not take this as an oppourtunity to learn lua yourself? It's probably not as difficult as you think it might be.
rainusero wrote:After update, feeds with less than 10 items stopped working. Check sample feeds below:
http://www.linuxforums.org/forum/extern ... orumids=17 -> No problem
http://www.unix.com/external.php?forumids=129 -> No problem
http://feeds.feedburner.com/CertPolska -> No problem

Not sure why you are having a problem with these as they all display on my machine.
rainusero wrote:Character disappearance. Check feeds bellow: All four are in polish language - you don't have to understand them but if you look carefully you'll see that some letters (polish diacritics marks) are missing.
http://www.webhostingtalk.pl/rss/forums ... ie-tematy/ -> I get 'Server not found' errors with this site.
http://twojepc.pl/news_rss.php -> this site sometimes takes a while to load and I do see quite a few '?'s scattered around. This probably means that the Calibri font can't display those characters. Try setting FontFace= to some other font that works with Polish characters.
http://haxnet.pl/rss.html -> works fine but a few '?'s here and there. Try changing fonts.
http://www.haxite.org/rss_view.php?kanal=newsy -> same as the above
rainusero wrote:Where are functions:.. function MarkRead(a, b).. etc.
You don't need those with this skin.
rainusero
Posts: 21
Joined: May 9th, 2012, 10:11 am

Re: FeedReader w/ sorting

Post by rainusero »

Try setting FontFace= to some other font that works with Polish characters.
I tried with tahoma, verdana, arial and MS Reference Sans and many others...
It is not a font problem...

I can not explain this.
This four sites are unable to display polish marks
http://www.webhostingtalk.pl/rss/forums/1-webhostingtalkpl-wszystkie-tematy/
http://twojepc.pl/news_rss.php
http://haxnet.pl/rss.html
http://www.haxite.org/rss_view.php?kanal=newsy

and on my all other sites it works fine without any problem :)
Alex Becherer

Re: FeedReader w/ sorting

Post by Alex Becherer »

the problem is probably the same as here:

http://rainmeter.net/forum/viewtopic.php?f=5&t=13639

sorry, but i guess this skin is not for these feeds. it wont work with Chinese or Hebrew characters either.
User avatar
Kaelri
Developer
Posts: 1721
Joined: July 25th, 2009, 4:47 am

Re: FeedReader w/ sorting

Post by Kaelri »

Yep. This is just one of the drawbacks of using Lua in a feed parser. As a partial solution, you can use the Substitute feature to replace diacritic letters with standard letters, as in

Substitute="ą":"a","ć":"c","ę":"e","ł":"l","ń":"n","ó":"o","ś":"s","ź":"z","ż":"z"

The only "real" solution is to go back to using a non-Lua parsing method, which would preclude most of the special features in skins like Mordasius's.
rainusero
Posts: 21
Joined: May 9th, 2012, 10:11 am

Re: FeedReader w/ sorting

Post by rainusero »

Replacing diacritical marks with standard letters, as in

Code: Select all

Substitute="ą":"a","ć":"c","ę":"e","ł":"l","ń":"n","ó":"o","ś":"s","ź":"z","ż":"z"
also doesn't work.

There must be something else (e.g. an invisible character) on the server side which does not allow for correct parsing.
Does anyone has an idea how to find out what it is ?

My Opera RSS reader deals with this issue without any problem, so there must be a way to make it "smartly" solved.
Alex Becherer

Re: FeedReader w/ sorting

Post by Alex Becherer »

Cze¶æ, mam na sprzeda¿ do³adowanie do T-Mobile na kwotê 50 z³. Zakupi³em przez pomy³kê i chcia³bym teraz do¶æ szybko sprzedaæ jak i otrzymaæ przelew szybko. Kwota jaka mnie interesuje to 35-40z³
that might be because the feed itself does not use Unicode but rather a different charset.


<?xml version="1.0" encoding="ISO-8859-2" ?>
this is your key. maybe you'll have some success with the codepage settings here: http://rainmeter.net/cms/Plugins-WebParser_beta
it is likely that such a setting ruins other feeds that do not use this charset though.