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: 25985" data-attributes="member: 14207"><p>Hi James,</p><p></p><p>Would it make sense to enhance WebEPG with the following feature?</p><p> :idea: Use day offsets with strings inserted into SearchURL, depending on the current weekday. An example: </p><p></p><p><strong>1) Assign numbers to every weekday (e.g. "DayNumber" hardcoded in WebEPG)</strong></p><p> Monday = 0</p><p> Tuesday = 1</p><p> Wednesday= 2</p><p> Thursday = 3</p><p> Friday = 4</p><p> Saturday = 5</p><p> Friday = 6</p><p></p><p><strong>2) Define weekday shortcuts/strings in the grabber</strong></p><p> <section name="DayNames"></p><p> <entry name="0">MO</entry></p><p> <entry name="1">DI</entry></p><p> <entry name="2">MI</entry></p><p> <entry name="3">DO</entry></p><p> <entry name="4">FR</entry></p><p> <entry name="5">SA</entry></p><p> <entry name="6">SO</entry></p><p> </section></p><p></p><p><strong>3) Calculate the DayName-number which should be used depending on the current day</strong></p><p>Today it's Thursday; which would be DayNumber "3". Next day would be Friday (DayNumber "4"); I guess that's the principle of the #DAY_OFFSET calcution currently used by WebEPG.</p><p>But instead of a number "FR" (or any other value defined in the template's section "DayNames") has to be used for #DAY_OFFSET (or e.g. "#DAYNAME_OFFSET") within the SearchURL.</p><p></p><p>What do you think about that?</p><p></p><p>Cheers,</p><p>Mat</p></blockquote><p></p>
[QUOTE="madmat17, post: 25985, member: 14207"] Hi James, Would it make sense to enhance WebEPG with the following feature? :idea: Use day offsets with strings inserted into SearchURL, depending on the current weekday. An example: [b]1) Assign numbers to every weekday (e.g. "DayNumber" hardcoded in WebEPG)[/b] Monday = 0 Tuesday = 1 Wednesday= 2 Thursday = 3 Friday = 4 Saturday = 5 Friday = 6 [b]2) Define weekday shortcuts/strings in the grabber[/b] <section name="DayNames"> <entry name="0">MO</entry> <entry name="1">DI</entry> <entry name="2">MI</entry> <entry name="3">DO</entry> <entry name="4">FR</entry> <entry name="5">SA</entry> <entry name="6">SO</entry> </section> [b]3) Calculate the DayName-number which should be used depending on the current day[/b] Today it's Thursday; which would be DayNumber "3". Next day would be Friday (DayNumber "4"); I guess that's the principle of the #DAY_OFFSET calcution currently used by WebEPG. But instead of a number "FR" (or any other value defined in the template's section "DayNames") has to be used for #DAY_OFFSET (or e.g. "#DAYNAME_OFFSET") within the SearchURL. What do you think about that? 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