My New Template - Discontinued

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
Twink
Posts: 92
Joined: 2002-08-01 01:40:12

Post by Twink »

yeah I could port it to perl, php, asp etc but then you might as well just use SQL also, which makes for a totally different template really. Although I guess you do get cgi-bins without access to sql servers, still it would be better to write the whole thing again rather then convert. Also reason I made this was so that you didn't need a fancy account and you could run it locally too. There is probably some way I could speed it up, when I've finished exams I might look into what is slowing it down the most and figure a better way of doing things.
Twink
Posts: 92
Joined: 2002-08-01 01:40:12

Post by Twink »

Well version 0.8 is well on the way, I thought I might post some pics of it in mozilla. (Note the colours have been reduced to save space)

Pic 1
Image
Pic 1 shows the new Orange style, using layout3.xml. It also shows the new ability to change layouts in the option menu


Pic 2
Image
Pic 2 looks fairly much like the old versions (light style using Layout1.xml), but you may notice the separation between Title Letters and Countries.

Pic 3
Image
Pic 3 uses layout2.xml in the Dark style (which did come with earlier versions, just not many people seemed to realise). It's sorted by Rating, which is indicated by a little arrow in the Rating Column.

Well that's it from me. I still have a few things to fix/add before version 0.8 is done, I've been asked alot about why there is text after the table and sometimes why pictures don't show up, try running the script here
antp
Site Admin
Posts: 9630
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

I think that for so complicated template, a XML (for the data) + XSL (for the formatting) solution may be nice... Since the program can store the catalog in a XML file...
But I do not really now what's possible to do with that.
Twink
Posts: 92
Joined: 2002-08-01 01:40:12

Post by Twink »

yeah I've been meaning to get around to learning bout XSL, it's likely to be alot nicer then my layout things. guess I'll have a look later.
anton
Posts: 15
Joined: 2002-11-01 04:02:48

Post by anton »

Hey Twink ....

I have a little problem with ur template, when I do a search, it wants a full movie name ...

so , for example if I want to find a movie 'Trainspotting' and I search for 'train' , it doesn' give me anything ... if I search for 'trainspotting' ... it returns me the trainspotting ...

so ... is there any way to make a search to search a partial name .. ?

thx :)
Twink
Posts: 92
Joined: 2002-08-01 01:40:12

Post by Twink »

it does for some movies and not for others, it's really weird,

dog finds
* cats and dogs
* dogtown
but not dogma.

I will look into it

*added: that's weird if I search for train it works for me
Last edited by Twink on 2002-11-11 02:19:03, edited 1 time in total.
Willspo
Posts: 61
Joined: 2002-08-14 15:50:23

XSLT

Post by Willspo »

Since you were talking about XML and XSL you might be interested in my new template (XSLT). :)
It consists of four main files + images:
  • index.html (main page)
    data/movies.xml (xml data for movies)
    transform.xml (XSL transform xml -> html)
    style_default.css
    images/*.png (star images)
Features: sorting, filtering, search and two different views (and soon play for non web version). The download size should be about 158 KB for > 120 movies.

It's strictly IE 6 and requires the latest XML Parser from microsoft:
http://www.microsoft.com/downloads/rele ... &ordinal=2
(this is because all transformations are done on the client side html-file)

You can find the src file here:
http://www.tegenaria.com/movieDB/xslt_template.rar

When u have downloaded the src file, unrar it and export your movieDB as html.
Choose data/movies.xml as template and save as data/movies.xml. (might want to backup original movies.xml first)

I read in your (antp) post that you could save the db as xml right from the program (with save as) but that was actually to late :(


/w
Willspo
Posts: 61
Joined: 2002-08-14 15:50:23

Screenshot

Post by Willspo »

Image

(bad gif)
:sleep:

/w
Twink
Posts: 92
Joined: 2002-08-01 01:40:12

Post by Twink »

wow, that looks amazing
antp
Site Admin
Posts: 9630
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

looks really nice :)

It would be great if you could adjust it to work with saved XML files :D
Guest

Post by Guest »

I know! I realized that you could save as XML first after i finnished the template and was about to post it.

/w
craZy C
Posts: 9
Joined: 2002-10-20 01:30:30
Location: Darwin, Australia

Post by craZy C »

Willspo, i love the work.........But i just cant get the thing to work....any chance an idiot proof step by step???? :grinking:
Twink
Posts: 92
Joined: 2002-08-01 01:40:12

Post by Twink »

how about putting it in a new thread. doesn't really make sense putting it in mine. Also people may not see it.
craZy C
Posts: 9
Joined: 2002-10-20 01:30:30
Location: Darwin, Australia

Post by craZy C »

My apologies Twink......was a hectic day and ddint actually read through thread..............
Marginal

Post by Marginal »

I've just discovered this script today and I've directly tried to use it.
It's really well done and very clear.
Thank you very much !
anton
Posts: 15
Joined: 2002-11-01 04:02:48

Post by anton »

Hello Twink,

I was just thinking over ur template, and thought, could you make also a page for individual movies ....

I mean, like when I click on the cell of the movie, it doesn't show details under that cell, but opens up the new window ....

that way I could reduce veeery much my file sizes, and it would be much better for me :)

thx :)
Twink
Posts: 92
Joined: 2002-08-01 01:40:12

Post by Twink »

yes that would cut sizes down quite alot. However I have already seperated the database into xml leaving the html smaller (although the xml is still quite large so it doesn't fix the problem) I've been way too busy lately to do any work on the template, which is a real pity, but that's life
anton
Posts: 15
Joined: 2002-11-01 04:02:48

Post by anton »

Twink: to view html, user still needs to download a whole xml at once ?
Twink
Posts: 92
Joined: 2002-08-01 01:40:12

Post by Twink »

anton wrote:Twink: to view html, user still needs to download a whole xml at once ?
yeah that's the problem.
Kaizen

Post by Kaizen »

Twink, could you write information about new version, changelog, “to do”, known bugs etc. in first post (by editing it) plizzzz? Now it is very easy to miss something important in such many posts.
See for example emule forum at http://207.44.196.43/en/viewtopic.php?t ... 1e96a490ac
Best regards,
Kaizen
Post Reply