Can't seem to make it work...

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
User avatar
DGC
Regular Poster
Posts: 99
Joined: Wed Nov 26, 2003 11:27 am
Location: San Diego
Contact:

Can't seem to make it work...

Post by DGC »

So I got my website ready and everything looked fine on the "test site" located on my hard drive. I figured on just plugging that html into the index and daily templates, then correcting any broken links as I went. I can't seem to get it going though. I keep getting this error message after doing an update.
The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.

--------------------------------------------------------------------------------

End tag 'a' does not match the start tag 'img'. Error processing resource 'http://section3.keenspace.com/'. Line 97, Position 112

<img src="http://www.burstnet.com/cgi-bin/ads/ad8 ... z=468x60A/" border="0" alt="Click Here"></a>
---------------------------------------------------------------------------------------------------------------^
I know I fouled up somewhere, but I just can't pinpoint it. Like I said, everything looks fine on the home comp, but I didn't count on what I coded there messing with the stuff on keenspace.

Here's my indextemplate code:
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html lang="en" xml:lang="en"
xmlns="http://www.w3.org/1999/xhtml">

<head>
<title>***comic_name*** - ***todays_date***</title>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1" />
<link
rel="stylesheet"
type="text/css"
href="section3.css"
title="dark"
media="screen" />
</head>

<center>
<div class="keen_ad" style="display:inline;">
***advertisement***
</div>
</center>

<div class="main">
<div class="headerbanner">
</div>

<!--NAVIGATION DIVISION-->
<div class=navigator>
<a class=nav href="/about.html">
The History of X-4/3
</a>
<a class=nav href="/archive.html">
The Archives
</a>
<a class=nav href="/cast.html">
NOC List (cast)
<a class=nav href="/sketches.html">
Development
</a>
<a class=nav href="/links.html">
Exit Links
</a>
</div>
<!--END OF NAVIGATION SECTION-->

<div class=content01>
<center>
<div class=header>
The latest from H.Q.
</center>
</div>

<br>

<div class=header>
***todays_date***
</div>

</br>

***todays_comics***

<br />
<center>
***first_day*** ***previous_day*** ***next_day*** ***last_day***
</center>
<br />
</div>

<div class=footer>
"The Last Star Fighter was a guy from a trailer park. And people from trailer parks are MEAN."
http://section3.comicgenesis.com
http://www.myspace.com/benmannix-because I'm just too lazy to have a Real Blog

User avatar
War
Grr
Posts: 3018
Joined: Sat Jun 14, 2003 2:26 pm
Contact:

Post by War »

By the looks of it, it's not your site, it's the burstnet adverts code which is put on your page by the advertisment tag.

User avatar
DGC
Regular Poster
Posts: 99
Joined: Wed Nov 26, 2003 11:27 am
Location: San Diego
Contact:

Post by DGC »

Well, I ran both my .css and .html through w3's validators. Fixed all errors that they detected. Still a no go. I was considering that maybe it's the burstnet thing too, but it seems to have not affected other comics I read. There's also a possibility that I'm coming in at a bad time with the server switch and all. Think I'll just sleep on this one for now. Code drives me batty.
"The Last Star Fighter was a guy from a trailer park. And people from trailer parks are MEAN."
http://section3.comicgenesis.com
http://www.myspace.com/benmannix-because I'm just too lazy to have a Real Blog

User avatar
Faub
The Establishment (Moderator)
The Establishment (Moderator)
Posts: 3698
Joined: Tue May 20, 2003 2:53 pm
Location: Missouri, USA
Contact:

Post by Faub »

Code: Select all

<noscript><a href="http://www.burstnet.com/ads/ad8223a-map.cgi/ns/v=1.0J/sz=468x60A/" target="_top">
<img src="http://www.burstnet.com/cgi-bin/ads/ad8223a.cgi/ns/v=1.0J/sz=468x60A/" border="0" alt="Click Here"></a> 
</noscript>
Here's the culprit. Apparently, whoever is making this banner ad code doesn't know XHTML or simply refuses to use it. Notice the img tag is not closed.

User avatar
Kisai
Goddess of Light
Goddess of Light
Posts: 3276
Joined: Fri Jan 01, 1999 4:00 pm
Location: The Past, the Present, The future
Contact:

Post by Kisai »

I tried to "fix" the ad code, did I miss something, let me see...

Omegaboot
Newbie
Posts: 7
Joined: Fri Jan 16, 2004 2:57 pm
Location: Winfield, IL
Contact:

Post by Omegaboot »

faub wrote:

Code: Select all

<noscript><a href="http://www.burstnet.com/ads/ad8223a-map.cgi/ns/v=1.0J/sz=468x60A/" target="_top">
<img src="http://www.burstnet.com/cgi-bin/ads/ad8223a.cgi/ns/v=1.0J/sz=468x60A/" border="0" alt="Click Here"></a> 
</noscript>
Here's the culprit. Apparently, whoever is making this banner ad code doesn't know XHTML or simply refuses to use it. Notice the img tag is not closed.
Far as I see, it is closed, you just have to follow it through three lines.

Edit: oops, forgot. should be a </img> in there.

User avatar
Kisai
Goddess of Light
Goddess of Light
Posts: 3276
Joined: Fri Jan 01, 1999 4:00 pm
Location: The Past, the Present, The future
Contact:

Post by Kisai »

just before I fixed it, it wasn't putting in the />

IMG tags are <img src="" /> not <img src=""></img>

User avatar
DGC
Regular Poster
Posts: 99
Joined: Wed Nov 26, 2003 11:27 am
Location: San Diego
Contact:

Post by DGC »

Hey, it works! This whole time, I've been running validators and stuff thinking I messed something up. On the bright side, I guess it was high time I fixed up some of my sloppy code anyway. Thank you, Kisai and Faub.
"The Last Star Fighter was a guy from a trailer park. And people from trailer parks are MEAN."
http://section3.comicgenesis.com
http://www.myspace.com/benmannix-because I'm just too lazy to have a Real Blog

Post Reply