fwiep / trekisode

Random StarTrek episode selector with HTML and plaintext output

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Trekisode

A random StarTrek episode selector with HTML and plaintext output

It's plaintext output could look like this:

Today's random StarTrek episode:  
TOS 2x04 Who Mourns for Adonais?

It's HTML output contains hyperlinks to MemoryAlpha and looks like this:

<pre>Today's random StarTrek episode:<br />
<a href="http://en.memory-alpha.org/wiki/DIS">DIS</a>
<a href="http://en.memory-alpha.org/wiki/DIS_Season_1">1x08</a>
<a href="http://en.memory-alpha.org/wiki/Si_Vis_Pacem,_Para_Bellum_(episode)"
 >Si Vis Pacem, Para Bellum</a>
</pre>

or as rendered HTML:

Today's random StarTrek episode:
DIS 1x08 Si Vis Pacem, Para Bellum

See my weblog (Dutch) for more information on this small but sweet piece of PHP and XML.

About

Random StarTrek episode selector with HTML and plaintext output


Languages

Language:PHP 100.0%