Skip to content

Random StarTrek episode selector with HTML and plaintext output

Notifications You must be signed in to change notification settings

fwiep/trekisode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages