Comic newsposts

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
Nosve
Newbie
Posts: 12
Joined: Mon Jul 11, 2005 2:32 pm
Location: Edina, MN

Comic newsposts

Post by Nosve »

So I read Ping's guide to putting text/comments on one's comic site over on Keenspace Gear. However, his guide only tells you how to put text immediately before or after your comic. What I am trying to figure out how to do is put text next to my comic. Being the not-so-masterful webdesigner I am, I decided to make most of my site one big table--with one big cell for the comic/navigation bar, and one narrower cell for the newspost.

My question: How do I tell AutoKeen to put my newspost (the .txt file) into that second cell, where I want it to go? I would've thought there'd be a tag for this type of application, but I didn't see one when I looked in the directory.

Thanks for any and all help!
<i>I can love, and make love to, the paradoxes that bug me. And on really romantic nights of self, I go salsa dancing with my confusion.</i>

User avatar
Plothole
Cartoon Hero
Posts: 1056
Joined: Sun Nov 23, 2003 10:23 pm
Location: In the Kitchen.
Contact:

Post by Plothole »

Well, thats a tricky one. I suppose if you were to post ALL the code between your comic and rant (newspost) into the included text file, it would work... but then you might run the risk of screwing up your layout by not including a rant.


Hmm... I'd REALLY help if I could see the code you're working with (if you could, please post it here using the [code]. . .[/code] tags)...

User avatar
Gengar003
Cartoon Hero
Posts: 1606
Joined: Mon Feb 21, 2005 7:12 pm

Post by Gengar003 »

if by "news" you mean news like "new site design today" or "i'm going on vacation"... this will get the same text on every page.

***include*** tag will do it.

Wherever your <td>cell where you want text for news post to go</td> is, put inside that cell

Code: Select all

***include /workspace/webpages/myNewsFileName.txt***
:D

If you mean the comments for your comic, that's a little trickier, but not impossible.

What you want to do is this, basically:

In your indextemplate/dailytemplate, the place your comic in a table, leaving no space for comments...

Code 1:

Code: Select all

<table>
 <tr>
  <td>
  ***todays_comic***
  </td>
 </tr>
</table>
(general idea)

Which, in and of itself, works fine to show a comic without comments. To add comments specific to EACH COMIC next to the comic (I'm assuming you want them on the right? Please?)

For every comic YYYYMMDD.jpg, make a text file YYYYMMDD.txt and upload it right next to the comic into /workspace/comics/

the very first things in that text file need to be:

Code 2:

Code: Select all

</td>
<td>
Comment, blah blah
Don't close the </td> tag; it's closed in the XXXXtemplate.html file, as per code 1.

Thus, any page without comments will show just the comic, and any page with comments will show them in a cell next to the comic.

If you want the comments on the left, name your comic YYYYMMDDb.jpg and make the txt file (YYYYMMDDa.txt) with

Code: Select all

Comments, blah blah blah
</td>
<td>
"If you hear a voice inside you saying "you are not an artist," then by all means make art... and that voice shall be silenced"
-Adapted from Van Gogh

Post Reply