Scripting/HTML --> active URL

If you made a template for printing or HTML export, you can offer it to the others here. You can also ask here for help about these templates
Post Reply
zippy

Scripting/HTML --> active URL

Post 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.
antp
Site Admin
Posts: 9651
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

is it in one of the sample template, or one that you made yourself ?
zippy

Post 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?
antp
Site Admin
Posts: 9651
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post 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 ;)
Guest

Post 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
antp
Site Admin
Posts: 9651
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

So you want to add a new line with Director and Actors ?
Post Reply