Archiving News

For requests for help from CG administrators, Wranglers, and experienced CG members. Please read the FAQ before posting. Also look at CG Wiki for tutorials and how-tos written by other CG webtoonists.
Post Reply
MuShoo
Newbie
Posts: 5
Joined: Fri Jan 01, 1999 4:00 pm

Post by MuShoo »

Is there any way to make the AutoKeen automatically create the news to go with a specific date? For instance, a folder inside the data folder called 'news' containing a bunch of dated text files. Then there'd be ***latest_news*** **yesterdays_news*** ***next_days_news*** and that sort of thing. It'd be really helpful in the way the machall.keenspace.com page is set up, as it's got the news in the index.html file, and so on. (btw, keensapce adminny-guys... I'm trying to get it to recognize the ***advertisement*** tag on index.html again... if all else fails, I'll just dump the java code in it myself.) Anyway, back to the point. The text files from data/news would be referenced with a ***include data/news/todaysnews.txt*** And todaysnews.txt would be created from whatever the date of the file is.<P>Is this available, or if not, possible?

User avatar
Seven3
Cartoon Hero
Posts: 1223
Joined: Fri Jan 01, 1999 4:00 pm
Location: New Zealand
Contact:

Post by Seven3 »

So you're saying you want the news of the day to go with that days comics in your archive?<P>Piece of cake; just create a file for your news called <B><date;><name>.html</B> with the news, where <B><date;></B> is the date of the comic you want it to appear with. If you don't have a comic for that day, it'll appear as a seperate page in your archives. The <B><name></B> decides whether it's placed above or below the comic as AutoKeen works in alphabetical order.
Upload the files into you comics folder and away you go.<P>Things to note:
*The news html files will be placed with the comic where the ***todays_comics*** tag is, so if you want links, buttons, or whatever, between the two you'd have to include them in the html.
*Don't put <head></head> or <body></body> tags in the files, when you update they become of the pages' code.<P><P>------------------
Time will tell. Sooner or later, time will tell - Albert Einstein, Red Alert.
Don't Panic. - Hitch-Hikers Guide to the Galaxy.
Spam Works(tm) - Overloaded billboard, <A HREF="http://portside.keenspace.com" TARGET=_blank>PortSide</A>
__|__P /_._
. |/ .. . |/
. / . .. / _
A pic from the first violent video game, Axe. :)

MuShoo
Newbie
Posts: 5
Joined: Fri Jan 01, 1999 4:00 pm

Post by MuShoo »

Ah, yes, but the news is not stored with the comic page. I need it on index.html, and there is no ***todays_comic*** tag on our index.html page (at machall.keenspace.com... the index.html file is broken, anyway though... AutoKeen seems to be fruitX0red for our site....). Since it doesn't move directly with the comic, I need it to work sort of like how the comics work, with it auto-creating a page for it via a template. I'd then do an ***include todays_news*** type thing, and it'd be all good. I dunno how a previous news thing would work....

Post Reply