Forum Articles
  Welcome back Join CF
You are here You are here: Home | Forum | Microsoft patent...the iPod

You are currently viewing our boards as a guest which gives you limited access to view most of the discussions, articles and other free features. By joining our Virgin Media community you will have full access to all discussions, be able to view and post threads, communicate privately with other members (PM), respond to polls, upload your own images/photos, and access many other special features. Registration is fast, simple and absolutely free so please join our community today.


Welcome to Cable Forum
Go Back   Cable Forum > General Discussion > Science & Technology
Register FAQ Community Calendar

Code behind an EPG
Reply
 
Thread Tools
Old 15-08-2005, 10:56   #1
friet
Inactive
 
Join Date: Jul 2005
Posts: 4
friet is an unknown quantity at this point
Code behind an EPG

Hi, does someone has an example on the code behind an EPG? From what I'm reading it should look a bit like HTML, but I can't find an example.
friet is offline   Reply With Quote
Advertisement
Old 15-08-2005, 11:25   #2
MikeyB
Inactive
 
MikeyB's Avatar
 
Join Date: Jun 2003
Location: Swindon
Age: 54
Services: BT FTTP, Humax Foxsat HDR Freesat+
Posts: 810
MikeyB has much to be proud ofMikeyB has much to be proud ofMikeyB has much to be proud ofMikeyB has much to be proud ofMikeyB has much to be proud ofMikeyB has much to be proud ofMikeyB has much to be proud ofMikeyB has much to be proud ofMikeyB has much to be proud ofMikeyB has much to be proud of
Exclamation Re: Code behind an EPG

Hi friet,

Depends what you mean really.
If you want an EPG for a website, then yes, you would use HTML (at least the end result would be HTML)

Something like this for example:
PHP Code:
<table>
  <
tbody>
    <
tr>
      <
td>Channel</td>
      <
td>8PM</td>
      <
td>9PM</td>
      <
td>10PM</td>
      <
td>11PM</td>
      <
td>12AM</td>
    </
tr>
    <
tr>
      <
td>BBC1</td>
      <
td>Something to watch</td>
      <
td>Something else</td>
      <
td>The News</td>
      <
td>A programme</td>
      <
td>A film</td>
    </
tr>
    <
tr>
      <
td>BBC2</td>
      <
td>Programme A</td>
      <
td>Programme B</td>
      <
td>Programme C</td>
      <
td>Programme D</td>
      <
td>Programme E</td>
    </
tr>
    <
tr>
      <
td>ITV1</td>
      <
td>Programme F</td>
      <
td>Programme G</td>
      <
td>Programme H</td>
      <
td>Programme I</td>
      <
td>Programme J</td>
    </
tr>
    <
tr>
      <
td>C4</td>
      <
td>Programme K</td>
      <
td>Programme L</td>
      <
td>Programme M</td>
      <
td>Programme N</td>
      <
td>Programme O</td>
    </
tr>
    <
tr>
      <
td>C5</td>
      <
td>Programme P</td>
      <
td>Programme Q</td>
      <
td>Programme R</td>
      <
td>Programme S</td>
      <
td>Programme T</td>
    </
tr>
  </
tbody>
</
table
MikeyB is offline   Reply With Quote
Old 15-08-2005, 11:36   #3
friet
Inactive
 
Join Date: Jul 2005
Posts: 4
friet is an unknown quantity at this point
Re: Code behind an EPG

I read some things like these and I was looking for some reallife examples:

Code:
  lid://{namespace-id}[/{resource-path}]

    <url> [attr1: val1][attr2:val2]...[attrn:valn][checksum]

  [script:shownews()]
friet is offline   Reply With Quote
Old 15-08-2005, 23:57   #4
Gareth
cf.mega poster
 
Gareth's Avatar
 
Join Date: Dec 2003
Age: 51
Posts: 7,101
Gareth has a pair of shiny starsGareth has a pair of shiny starsGareth has a pair of shiny starsGareth has a pair of shiny starsGareth has a pair of shiny starsGareth has a pair of shiny stars
Gareth has a pair of shiny starsGareth has a pair of shiny starsGareth has a pair of shiny starsGareth has a pair of shiny starsGareth has a pair of shiny starsGareth has a pair of shiny starsGareth has a pair of shiny stars
Re: Code behind an EPG

If you were to use xmltv then you would be using, er... xml.

Here's an example, taken from xmltv
Quote:
<tv>
<programme channel="bbc2.bbc.co.uk" start="20010829000500 BST">
<title>The Phil Silvers Show</title>
<desc>
Bilko claims he's had a close encounter with an alien in order
to be given some compassionate leave so he can visit an old
flame in New York.
</desc>
</programme>

<programme channel="channel4.com" start="20010829095500 BST">
<title>King of the Hill</title>
<sub-title>Meet the Propaniacs</sub-title>
<desc>
Bobby tours with a comedy troupe who specialize in
propane-related mirth.
</desc>
<credits>
<actor>Mike Judge</actor>
<actor>Lane Smith</actor>
</credits>
<category>animation</category>
</programme>
</tv>
I know that the Radio Times used to do an EPG that was free for personal use, which was also xml, iirc, but I believe that the Beeb has recently pulled the plug on that one... shame cause apparently it was a very good source of info.
Gareth is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:09.


Server: lithium.zmnt.uk
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
All Posts and Content are © Cable Forum