Page 1 of 1

Scripting/HTML --> active URL

Posted: 2004-01-21 09:32:00
by zippy
Hi there,

I wonder if it's possible to get an active url link(the imdb one for example) on the exported HTML.
And how should i implement it.

I would also like a separated section for the director and one for the actors on the exported HTML file.

Thx for the help.

Posted: 2004-01-21 12:44:02
by antp
is it in one of the sample template, or one that you made yourself ?

Posted: 2004-01-27 11:09:16
by zippy
I just altered some lines in the EXPORT HTML file, to adjust it more to my needs.

Don't know much about HTML scripting, but a few little changes i can handle. Just like to know the code to get an url active, so you can just click on the given url to go to that webpage.

Also when i tried to make a second line to give in the director and actors it didn't look that great. Would be nice to get it beside the picture.

Btw, how do you implement sample templates? And how to find them?

Posted: 2004-01-27 13:16:38
by antp
for the URL, instead of $$ITEM_URL put <a href="$$ITEM_URL">$$ITEM_URL</a>.

few templates were made by me. The others have been sent by users.

To add a line, it depends of the template that you use. Post here the code of it if it is not too big ;)

Posted: 2004-01-27 16:41:33
by Guest
Thx for the code for the url, it's working now!

Here the current code

Code: Select all

$$ITEM_DATEADD$$ITEM_URL$$ITEM_COUNTRY$$ITEM_ACTORS<html><head>
<style TYPE="text/css">
  text,body,p,div,span,th,td,ul,li { FONT-SIZE: 10pt; FONT-FAMILY: Trebuchet MS, Verdana, Arial, Helvetica, sans-serif; color: black; background: white; }
  HR { color: black; }
  A:link { COLOR: #003399; background: white; }
  A:visited { COLOR: #003399; background: white; }
  A:hover { COLOR: #CC0000; background: white; }
  A:active { COLOR: #CC0000; background: white; }
  td.blk { color: white; background: black; border: solid; border-color: black; }
  table.blk { color: white; background: black; border: solid; border-color: black; border-width: thin; }
  table.lgt { color: black; background: white; border: solid; border-width: thin; border-color: #F5F5F5; }
  td.lgt { color: black; background: white; border: solid; border-width: thin; border-color: #F5F5F5; }
  p.title { font-size: 18pt; font-weight: bold; }
</style></head><body>
<p>Catalog created on $$DATE with <a href="http://www.ant.be.tf/moviecatalog/" target="_blank">Ant Movie Catalog</a>.</p>
<table class="blk" border="1" cellspacing="0" cellpadding="5"><tr>
<td class="blk" nowrap>Number</td>
<td class="blk" nowrap>Original Title</td>
<td class="blk" nowrap>Url</td>
<td class="blk" nowrap>Lenght</td>
<td class="blk" nowrap>Languages</td>
<td class="blk" nowrap>Subtitles</td>
<td class="blk" nowrap>Size (Mb)</td>
</tr>$$ITEM_BEGIN<tr>
<td rowspan="2" class="lgt"><strong>$$ITEM_NUMBER $$ITEM_APPRECIATION<br><img src="$$ITEM_PICTUREFILENAME" width="120" height="166"></strong></td>
<td class="lgt"><strong>$$ITEM_ORIGINALTITLE </strong></td>
<td class="lgt"><a href="$$ITEM_URL">$$ITEM_URL</a> </td>
<td class="lgt">$$ITEM_LENGTH </td>
<td class="lgt">$$ITEM_LANGUAGES </td>
<td class="lgt">$$ITEM_SUBTITLES </td>
<td class="lgt">$$ITEM_SIZE </td>
</tr><tr><td colspan="6" class="lgt">$$ITEM_DESCRIPTION </td></tr><tr><td colspan="7" class="blk"></td>
</tr>$$ITEM_END</table><p><strong>Total: $$TOTALMOVIES movies</strong></p></body></html>
This is how it looks now, you see i just changed some simple things

Posted: 2004-01-27 17:59:13
by antp
So you want to add a new line with Director and Actors ?