Page 1 of 1

Function to split data into several html files ?

Posted: 2002-08-12 17:56:40
by suchus
Would it be too difficult to add a function to Ant Movie Catalog that splits the data into several html files?

I was thinking about something like that:
A click on the html export button opens a popup with some radio buttons --> 1. don't split html file - 2. split every 10 entries - 3. split every 30 entries - 4. split every 50 entries
Let's say the user has 200 entries on his list, and picked the "split every 50 entries" - the result should be 4 separate html files.
Maybe it's also possible to automatically add some links on top of each page, so it's possible to jump from one page to the other.

I think such a function would be very useful for people who'd like to present a larger collection also online. I guess a collection with 50 entries, and an image for every entry would take already pretty long to load.

What do you think about this suggestion?

Cheers,
suchus

Posted: 2002-08-12 20:05:32
by antp
I may maybe add that... I'll have to see if it is not too difficult to manage...
But you can already split at each entry with the "individual" template thing (there is a sample with the program)

Posted: 2002-08-13 08:24:31
by lukecs
I would actually prefer you just add a feature so that you can add text in the html between movie numbers... I have some 350 movies, so of course I don't load up the images for every movie on the main page. Instead I use frames with the left frame being the list of movies and the right frame, movie details... Be nice if I could make the list with headings.

Take a look at my web page to see how I do it currently

Posted: 2002-08-13 08:40:11
by antp
And what's the problem about the current list ? I do not see exactly what you would do...