home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Support
Electronic Program Guide
WebEPG
[29.11.05] WebEPG 0.2.0 update on website
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="madmat17" data-source="post: 20612" data-attributes="member: 14207"><p>Hi James,</p><p></p><p>Welcome back from vacation! 8) </p><p></p><p>I guess, WebEPG looks for the char-set in the meta data within the HTML header.</p><p>If it does, my idea is the following:</p><ul> <li data-xf-list-type="ul">WebEPG could grabb one or two pages with the encoding stated by the HTML code (in the current case iso8895-1), write them into a temporary XML file and look for special characters. If special character are found, take the stated char-set for grabbing.</li> <li data-xf-list-type="ul">If no special character could be found, try one char-set after another (<a href="http://www.iana.org/assignments/character-sets" target="_blank">http://www.iana.org/assignments/character-sets</a>). If no special character could be found at all, use the stated encoding, if special characters could be found, use the according char-set.</li> </ul><p></p><p>I know, that's a long winded one, so here's another idea:</p><p>The person, who writes the grabber, could define the char-set in the grabber-XML, and if no char-set is defined, use the char-set, which is defined by the meta-tag on the HTML page.</p><p> :idea: </p><p></p><p>Cheers,</p><p>Mat</p></blockquote><p></p>
[QUOTE="madmat17, post: 20612, member: 14207"] Hi James, Welcome back from vacation! 8) I guess, WebEPG looks for the char-set in the meta data within the HTML header. If it does, my idea is the following: [list] [*]WebEPG could grabb one or two pages with the encoding stated by the HTML code (in the current case iso8895-1), write them into a temporary XML file and look for special characters. If special character are found, take the stated char-set for grabbing. [*]If no special character could be found, try one char-set after another ([url]http://www.iana.org/assignments/character-sets[/url]). If no special character could be found at all, use the stated encoding, if special characters could be found, use the according char-set. [/list] I know, that's a long winded one, so here's another idea: The person, who writes the grabber, could define the char-set in the grabber-XML, and if no char-set is defined, use the char-set, which is defined by the meta-tag on the HTML page. :idea: Cheers, Mat [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
Electronic Program Guide
WebEPG
[29.11.05] WebEPG 0.2.0 update on website
Contact us
RSS
Top
Bottom