*NEW* InfoService v1.62 - Feed reader/Twitter reader and weather [07-01-2011] (1 Viewer)

Status
Not open for further replies.

montecristo

Portal Pro
May 29, 2008
119
3
Home Country
Belgium Belgium
Re: *NEW* InfoService v1.6 - Feed reader/Twitter reader and weather [06-06-2010]

sorry, must have been looking over it.
will check it again.
anyway, will be nice if it is fixed.

montecristo
 

sl33p3r

Portal Member
July 8, 2009
9
0
Home Country
United States of America United States of America
GeckoBrowser not working from within InfoService

When I select one of the RSS links to open them in GeckoBrowser, it does not work consistently. The predefined entry for GeckoBrowser has the Window ID set to 16004, but GeckoBrowser when installed runs under 16002 on my system, and I did not change that.

If I set the Webbrowser to GeckoBrowser, nothing happens.

If I set it to Web Browser, then GeckoBrowser launches, but it does not open the RSS feed page.

I created a custom Webbrowser entry that used 16002 as the Window ID, and the properties from the GeckoBrowser entry. With these settings the browser starts, but it does not always open the URL. When it does not open the URL, I open any page manually, exit the browser, and try the link in InfoService again. This time it works, but then after viewing a couple links from InfoService, it stops working and I have to do the manual thing again.

I do not see anything different in the InfoService log between when it does and does not work, but in the GeckoBrowser log I do see a difference. When it works there are 2 back-to-back entries trying to open the page. When it does not work, there is only one. (see log below)

Code:
8/18/2010 9:48:50 PM | Info | Init Geckobrowser
8/18/2010 9:49:02 PM | Info | Open GeckoBrowser
8/18/2010 9:49:02 PM | Info | Navigate to http://www.foxnews.com/story/0,2933,599782,00.html with zoom 100
8/18/2010 9:49:08 PM | Info | Navigate to http://www.google.com
8/18/2010 9:49:08 PM | Info | Navigate to http://www.google.com with zoom 100
8/18/2010 9:49:10 PM | Info | Close GeckoBrowser
8/18/2010 9:49:12 PM | Info | Open GeckoBrowser
8/18/2010 9:49:12 PM | Info | Navigate to http://www.foxnews.com/story/0,2933,599782,00.html with zoom 100
8/18/2010 9:49:15 PM | Info | Navigate to http://www.google.com with zoom 100
8/18/2010 9:49:15 PM | Info | Navigate to http://www.google.com
8/18/2010 9:49:19 PM | Info | Show virtual keyboard
8/18/2010 9:49:25 PM | Info | Close GeckoBrowser
8/18/2010 9:49:27 PM | Info | Open GeckoBrowser
8/18/2010 9:49:27 PM | Info | Navigate to http://www.foxnews.com/story/0,2933,599782,00.html with zoom 100
8/18/2010 9:49:29 PM | Info | Close GeckoBrowser
8/18/2010 9:49:31 PM | Info | Open GeckoBrowser
8/18/2010 9:49:31 PM | Info | Navigate to http://www.foxnews.com/us/2010/08/18/federal-appeals-court-rules-utah-memorial-crosses-highway/
8/18/2010 9:49:31 PM | Info | Navigate to http://www.foxnews.com/us/2010/08/18/federal-appeals-court-rules-utah-memorial-crosses-highway/ with zoom 100
8/18/2010 9:49:37 PM | Info | Close GeckoBrowser
8/18/2010 9:49:40 PM | Info | Open GeckoBrowser
8/18/2010 9:49:40 PM | Info | Navigate to http://www.foxnews.com/story/0,2933,599782,00.html
8/18/2010 9:49:40 PM | Info | Navigate to http://www.foxnews.com/story/0,2933,599782,00.html with zoom 100
8/18/2010 9:49:43 PM | Info | Close GeckoBrowser
8/18/2010 9:49:51 PM | Info | Open GeckoBrowser
8/18/2010 9:49:51 PM | Info | Navigate to http://liveshots.blogs.foxnews.com/2010/08/18/muslims-worship-near-pentagon-attack-site/ with zoom 100
8/18/2010 9:49:54 PM | Info | Close GeckoBrowser
8/18/2010 9:49:56 PM | Info | Open GeckoBrowser
8/18/2010 9:49:56 PM | Info | Navigate to http://www.foxnews.com/us/2010/08/18/federal-appeals-court-rules-utah-memorial-crosses-highway/ with zoom 100
8/18/2010 9:49:57 PM | Info | Close GeckoBrowser
8/18/2010 9:50:00 PM | Info | Open GeckoBrowser
8/18/2010 9:50:00 PM | Info | Navigate to http://www.foxnews.com/world/2010/08/18/mexico-journalists-increasingly-endangered-species/ with zoom 100
8/18/2010 9:50:00 PM | Info | Navigate to http://www.foxnews.com/world/2010/08/18/mexico-journalists-increasingly-endangered-species/
8/18/2010 9:50:08 PM | Info | Close GeckoBrowser
8/18/2010 9:50:12 PM | Info | Open GeckoBrowser
8/18/2010 9:50:12 PM | Info | Navigate to http://www.foxnews.com/story/0,2933,599782,00.html
8/18/2010 9:50:12 PM | Info | Navigate to http://www.foxnews.com/story/0,2933,599782,00.html with zoom 100
8/18/2010 9:50:15 PM | Info | Close GeckoBrowser

Any help would be appreciated.

Thanks,
Dave
 

KwizatZ

Portal Member
August 14, 2010
42
16
Home Country
France France
Re: *NEW* InfoService v1.6 - Feed reader/Twitter reader and weather [06-06-2010]

This site doesn't appear in feeds:
MangaON

Does the problem come from images content in the rss ? if so, is there a way for this site to wok in InfoService ? (at least taking the news titles)
 

ojessie

MP Donator
  • Premium Supporter
  • August 7, 2008
    30
    2
    Innsbruck
    Home Country
    Austria Austria
    Re: *NEW* InfoService v1.6 - Feed reader/Twitter reader and weather [06-06-2010]

    Hi,
    I'm having the same problem that RSS feed doesn't show up in Gecko browser. What ever I configure also in advanced menu it doesn't solve the problem. I know I should add the log files but I'm currently in the office but I'll attach it late in the evening. But the log files says something like: "couldn't find content probably it doesn't exist. But when I'm opening Gecko directly than the last clicked RSS feed shows up. Any idea or help would be highly appreciated.
    Regards, ojessie
     

    KwizatZ

    Portal Member
    August 14, 2010
    42
    16
    Home Country
    France France
    Re: *NEW* InfoService v1.6 - Feed reader/Twitter reader and weather [06-06-2010]

    This site doesn't appear in feeds:
    MangaON

    Does the problem come from images content in the rss ? if so, is there a way for this site to wok in InfoService ? (at least taking the news titles)

    Added log:
    Code:
    20/08/2010 22:44:40 | Feed | Error | Error parsing RSS feed
    						Le chemin d'accès spécifié, le nom de fichier ou les deux sont trop longs. Le nom de fichier qualifié complet doit comprendre moins de*260*caractères et le nom du répertoire moins de 248*caractères.
    						   à System.IO.Path.SafeSetStackPointerValue(Char* buffer, Int32 index, Char value)
       à System.IO.Path.NormalizePathFast(String path, Boolean fullCheck)
       à System.IO.Path.NormalizePath(String path, Boolean fullCheck)
       à System.IO.Path.GetDirectoryName(String path)
       à FeedReader.Utils.DownloadImages(Feed feed, String cacheFolder)
       à FeedReader.Xml.FeedRssXmlParser.TryParse(XDocument xmlFeed, Feed& feed, Boolean downloadImages)


    It seems to be a bug when the rss feed title has more than 260 chars, cause you probably want to write a cache directory based on the web rss title instead of the title I defined for the feed.

    Edit: exactly the same problem with AnimeSpace which has a long title too: same error in log file. The long-title bug seems confirmed :eek:

    Edit2: I've finally made a quick fix directly in the source code, changing your "Feed.Title" method:
    -Commented:
    Code:
    //        public string Title { get; set; }
    -Replaced by:
    Code:
            public string Title
            {
                get
                {
                    return _title;
                }
                set
                {
                    _title = value;
                    if (_title.Length > 30)
                    {
                        _title = _title.Substring(0, 30);
                    }
                    _title = ("" + _title).Replace(",", "_").Replace(" ", "_").Replace(".", "_").Replace(":", "_").Replace("\\", "_").Replace("/", "_").Replace("*", "_").Replace("\"", "_").Replace("<", "_").Replace(">", "_").Replace("|", "_");
                }
            }

    Here is the fixed Feed.cs source code:
    http://wowtoile.com/Feed.cs

    Here is the compiled dll if someone need the fix for feeds with long titles or non valid chars in titles:
    http://wowtoile.com/InfoService.dll
     

    TLD

    Portal Pro
    October 26, 2007
    949
    386
    Rainy Washington
    Home Country
    United States of America United States of America
    Re: *NEW* InfoService v1.6 - Feed reader/Twitter reader and weather [06-06-2010]

    Nice plugin but i couldn't get it to open a web page with GeckoBrowser at all just got a blank screen, however it works fine with Webbrowser + (microsoft.mshtml.dll) in Programmes/~/MediaPortal directory + (Interop.SHDocVw.dll) in plugin/Windows folder along with the Webbrowser.dll, as long as you remove all the GeckoBrowser files.
     

    TLD

    Portal Pro
    October 26, 2007
    949
    386
    Rainy Washington
    Home Country
    United States of America United States of America
    Re: *NEW* InfoService v1.6 - Feed reader/Twitter reader and weather [06-06-2010]

    Thanks that got it working. Don't know how i missed that the other day i spent hours searching for that info.
     

    NickName

    MP Donator
  • Premium Supporter
  • June 23, 2006
    359
    12
    Gold Coast
    Home Country
    Re: *NEW* InfoService v1.6 - Feed reader/Twitter reader and weather [06-06-2010]

    Hi,

    Thanks for the excellent plugin. Would it be possible for you to add "My Recordings" playback to the list of Twitter events please? That way, when a recording is played, a twitter update is sent.
    If you wanted, maybe add other events like My TV or My Music?
    I can appreciate some people may raise "privacy concerns" about this but they are 'options' and if you turn them on, you expect that "the masses" can read them.

    Cheers,

    Nick Name
     

    edsche

    Community Plugin Dev
    January 7, 2007
    606
    360
    37
    Ulm
    Home Country
    Germany Germany
    • Thread starter
    • Moderator
    • #50
    AW: *NEW* InfoService v1.61 - Feed reader/Twitter reader and weather [30-11-2010]

    Released an update to v1.61 - See first page

    Changelog:

    Code:
    [-] - Fixed issue
    [*] - Changed feature
    [+] - Added feature
    [i] - Information
    [!] - Attention
    
    Version v1.61: 
    [+] New Properties: #infoservice.feed.itemtype and #infoservice.twitter.itemtype to replace hard coded labels in the skin (Feed items and Twitter items)
    [+] Added new placeholders for ticker (%itemindex%, %itemsource%)
    [+] Added setting of properties #infoservice.feed.INDEX.titles and #infoservice.feed.INDEX.img where INDEX is feed index (0 = all feeds, 1 = first one, 2 = ...) 
    [+] Added new language: Portuguese (Brazilian) 
    [+] Options can now be used with keyboard shortcuts (ALT + underlined letter).
    [+] Added feed item filtering
    [+] Added separate tickers masks and separators for normal feeds and all feeds
    [+] "Browse The Web" webbrowser is now supported
    [*] Improved loading of localization files
    [*] Better logging of parsing errors
    [*] Improved image parsing from feed
    [*] RecentlyAdded items now have age, will be removed after 7 days
    [*] Current thread is now logged, too
    [-] Fixed threading problems when updating GUI components
    [-] Fixed some problems with recently added
    [-] Fixed some typos in recently added
    [-] Fixed feed & twitter selection on GUI screens
    [-] Fixed update problem when users changes weather location via weather screen
    [-] Fixed crash, if feed title is very long
    [!] Many languages files are not updated yet for v1.61 (only German and English). If you have some with untranslated labels please have a look in your language file

    Please note that many languages are not fully translated for v1.61 right now (see last point on changelog)! If someone can/want to help on translating the open strings, then please read this.
     
    Status
    Not open for further replies.

    Users who are viewing this thread

    Top Bottom