English > Scripts and Templates

Export template: HTML List (English + German)

<< < (13/37) > >>

svenne:
Some new features...

- I added colored dots for loaned movies and for those on the wish list

- just to make mgpw4me happy ;): I added some sort functionality. While viewing the exported data in your browser you can choose to (re-)sort your movie list in three different ways (but the initial sort order will still be the same you had in PVD when exporting). If you push the "Sort list..."-button a menu will pop up...
If you choose to sort by alphabet: it will be case insensitive and characters like à, á, â, ã, ä, å, will be treated as "a", while the german ß will be treated as double-s, æ will be treated as "ae", and so on... might not be just as good as the Unicode Collation Algorithm, but almost! ;)

mgpw4me@yahoo.com:

--- Quote from: svenne on November 15, 2010, 09:52:55 pm ---- just to make mgpw4me happy ;):

--- End quote ---
date=1289854375]

I've always been happy  >:(

As soon as I figure out what I'm doing wrong  I'll add you to my XMas list.  I have my own "little" project that may be ready by then.

svenne:
Oh, don't be angry with me... the sort functionality was one small point you suggested, though a long time ago... the other ones are a little bit too complicated for now and perhaps easier to do with php? I fear that if I additionally exported everything into arrays... that might result in a very big file and further slow things down? The ideas for making everything more interactive were not bad, though. I'm looking forward to your project, does it have something to do with that?

mgpw4me@yahoo.com:

--- Quote from: svenne on November 16, 2010, 11:01:44 am ---Oh, don't be angry with me...

--- End quote ---

My fault...my sense of humor doesn't always come across as funny.

I noted the sort is quite slow with 5000 movies, so yes, I suppose a big file might slow things down even more.  Firefox isn't a speed demon to start with.  One thing that might be worth looking at:

- export your database
- rename the index.html file to index.hta
- add the following lines to the top of the hta file


--- Quote ---<HEAD>
 <TITLE>Svenne's Monster Application</TITLE>
 <HTA:APPLICATION ID="oMyApp"
      BORDER="thin"
      BORDERSTYLE="normal"
      CAPTION="yes"
      MAXIMIZEBUTTON="yes"
      MINIMIZEBUTTON="yes"
      SHOWINTASKBAR="yes"
      SINGLEINSTANCE="no"
      SYSMENU="yes"
      VERSION="1.0"
      WINDOWSTATE="maximize">
</HEAD>
--- End quote ---

You now have full access to the windows scripting engine (vbscript or javascript).  There's supposed to be a PECL for PHP that can register PHP as a scripting language, but I haven't been able to get the PECL and PHP versions to match up yet.

I'm still working on getting good quality (~ 400px square) headshots of the people in my database.  My project will allow others to do the same.

svenne:
The sort itself is quite fast. Restructuring and rendering the page is the slow thing... Internet Explorer is almost the same, even a bit slower...
Thanks for the info on HTA. It's something that I was completely unaware of. :-\ Sounds interesting! :)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version