Is it possible to autoupdate your dropdown.txt file?
My goal is to have an archives page that lists the title of the comic instead of just dates through the calendar. I could easily do this manually through updating the dropdown.txt and then using the ***story_archive*** tag on my archives page, but it wouldn't automatically change as if I were using the calendar tags.
Is this possible?
Thanks in advance.
Autoupdating dropdown.txt
I have an archive like that.
Unfortunately, i have to manually update it. I don't think there's a way for comicgenesis to automatically do it. (Although if i am wrong that is awesome.)
What i did was write a hunk of javascript to build it for me. Basically, i update a file with the name i want, and the date i uploaded it on, and it generates all the tedious bits, which i then copy and paste.
You can check it out here at the bottom of the page, but it's a big mess. If you wind up using it i'll clean it up a bit.
Unfortunately, i have to manually update it. I don't think there's a way for comicgenesis to automatically do it. (Although if i am wrong that is awesome.)
What i did was write a hunk of javascript to build it for me. Basically, i update a file with the name i want, and the date i uploaded it on, and it generates all the tedious bits, which i then copy and paste.
You can check it out here at the bottom of the page, but it's a big mess. If you wind up using it i'll clean it up a bit.
If you just use it to make an archive, pretty much all it does is take out the tedious bits of writing the html.
So, i write 'Mr. Snugglegums', and '20040417' and it writes:
Which isn't a whole lot of difference really. Where it becomes nice is if you have to generate some whole different jib jab - like his dropdown. It could do both in one fell swoop.
You can also use it to pull nifty tricks like making a link to a comic at random, and other junk like that. That was the main reason i wrote the thing in the first place - the autogenerating archive was just a nice extra.
Edit - i had some spare time, so i cleaned an posted said scripts at http://cwcomics.comicgenesis.com/genera ... cript.html - if your have troubles give me a shout.
So, i write 'Mr. Snugglegums', and '20040417' and it writes:
Code: Select all
<li>
<a href="/d/20060417.html" id="h20060417">
Mr. Snugglegums.
</a>
</li>You can also use it to pull nifty tricks like making a link to a comic at random, and other junk like that. That was the main reason i wrote the thing in the first place - the autogenerating archive was just a nice extra.
Edit - i had some spare time, so i cleaned an posted said scripts at http://cwcomics.comicgenesis.com/genera ... cript.html - if your have troubles give me a shout.

