Help with coding

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.

Postby Tim Broderick on Tue Jul 11, 2000 8:37 am

I'm trying to get my archives working, but something's going wrong. Instead of linking to the correct page, the link generated looks like this: <A HREF="http://20000706.html" TARGET=_blank>http://20000706.html</A> - which of course generates a site not found error.<P>Am I doing something wrong?<P>
------------------
Tim Broderick
Someday, all jobs will be <A HREF="http://oddjobs.keenspace.com" TARGET=_blank> Odd Jobs</A><p>[This message has been edited by Tim Broderick (edited 07-11-2000).]
Tim Broderick
Regular Poster
 
Posts: 205
Joined: Fri Jan 01, 1999 4:00 pm
Location: Chicago, IL USA

Postby Elijah on Tue Jul 11, 2000 9:08 am

That isn't too hard to fix, if you want to link to another html file you need the "/" before the html file like href="/comic.html" or to link to an archived comic href="/d/20000101.html" the d is the folder the archives html files are kept
<P>------------------
<A HREF="http://www.foolslife.net" TARGET=_blank>It's a Fools Life</A>
---insert witty comment here---
Elijah
Regular Poster
 
Posts: 75
Joined: Fri Jan 01, 1999 4:00 pm
Location: Colorado Springs, CO, USA

Postby Tim Broderick on Wed Jul 12, 2000 3:28 am

Um, I know that. What I'm wondering about is whether that's supposed to be generated automatically. From the tone of the FAQ, it seems that I wouldn't have to go in and tough any of the archive files after they've been created.
What's happening is the Keenspace software is creating the archive files off of my template, and it's placing the code: <A HREF="http://200000706.html" TARGET=_blank>http://200000706.html</A>
in the place of ***previous_week***
instead of generating code like:
a href="/d/20000706.html<P>So I'm asking if this is user error on my part, something the Keenspace crew needs to look at or if I need to edit each of my archive pages and continue to do so each week - which would defeat the idea of automatically archiving the pages.<P><P>------------------
Tim Broderick
Someday, all jobs will be<A HREF="http://oddjobs.keenspace.com" TARGET=_blank> Odd Jobs</A>
Tim Broderick
Regular Poster
 
Posts: 205
Joined: Fri Jan 01, 1999 4:00 pm
Location: Chicago, IL USA

Postby Keenspace Nate on Wed Jul 12, 2000 6:24 am

This appears to be a bug. We will look into it. <P>In the meantime, you can use the previous_day, next_day, first_day, last_day tags to accomplish the same feature. It will just say "comic" instead of "Week" on the text link. If you use a gif image, there will be no visible difference.<P>Later,
Nate<P>------------------
Nate
nate@keenspot.com
nate@keenspace.com
Keenspace Nate
Newbie
 
Posts: 14
Joined: Fri Jan 01, 1999 4:00 pm
Location: El Cerrito, CA USA

Postby Tim Broderick on Wed Jul 12, 2000 6:42 am

Thanks Nate.<P>And thanks Elijah, for trying to help.<P><P>------------------
Tim Broderick
Someday, all jobs will be<A HREF="http://oddjobs.keenspace.com" TARGET=_blank> Odd Jobs</A>
Tim Broderick
Regular Poster
 
Posts: 205
Joined: Fri Jan 01, 1999 4:00 pm
Location: Chicago, IL USA

Postby Elijah on Wed Jul 12, 2000 9:04 am

btw you shouldn't put the / before you tags when you place them all you need is " ***next_comic*** " keenspace will automatically do the rest you should only use the / for html you create yourself or to link to a certain day "April Fools Special a href="/d/20000401.html"Click Here"<P>------------------
<A HREF="http://www.foolslife.net" TARGET=_blank>It's a Fools Life</A>
---insert witty comment here---<p>[This message has been edited by Elijah (edited 07-12-2000).]
Elijah
Regular Poster
 
Posts: 75
Joined: Fri Jan 01, 1999 4:00 pm
Location: Colorado Springs, CO, USA

Postby Tim Broderick on Wed Jul 12, 2000 11:52 am

But I'm not putting anything but the tags on my page. That's the problem I'm seeking help with.
All I'm putting on my page is the appropriate tags like ***previous_week***<P>That's all I'm putting up. I'm not putting http:// or any slashes. Hey, I'll email the html page to you so you can see for yourself. Or go see for yourself. Go to oddjobs.keenspace.com and try to go to the previous episodes. The tags are placing html that reads <A HREF="http://20000706.html," TARGET=_blank>http://20000706.html,</A> not me.<P>I'm not putting anything but the tags on the page. (wow, deja vu - I think I said that before) And the tags aren't producing links to my archives. In order for that to happen, I specifically have to go in and edit the links myself - which I haven't done since I'm trying to find out if there's something wrong with the way the tags are working. Of course, I'm assuming that's not the way the tags are intended to work.<P>If it makes any difference, I'm putting the tags for a weekly comic on my page, not the daily tags, so most other people may not be having this problem.
<P>------------------
Tim Broderick
Someday, all jobs will be<A HREF="http://oddjobs.keenspace.com" TARGET=_blank> Odd Jobs</A>
Tim Broderick
Regular Poster
 
Posts: 205
Joined: Fri Jan 01, 1999 4:00 pm
Location: Chicago, IL USA


 

Return to Help Center



Who is online

Users browsing this forum: No registered users and 1 guest