Page 1 of 1

INDEX TEMPLATE AND DAILY TEMPLATE DON'T WORK

Posted: Tue Jun 22, 2004 12:36 am
by Roxy
Hiyee! I'm Roxy (Roxanne de Winter) off the Ikiryoh webcomic team, and I'm facing an annoying problem. On the tutorial on "The Jaded", it says:

Go back to /workspace and download a copy of indextemplate.html and dailytemplate.html. Open them with your text editor.

I have a text editor and even an FTP program. But whenever I open the indextemplate and dailytemplate HTML files, they show this message:

**** = my password


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 'body' does not match the start tag 'html'. Error processing resource 'ftp://Ikiryoh:****@ikiryoh.keenspace.co ... plate.html'. Line 23, Position 3

</body>
--^


... is that normal? I noted a bit of HTML in the end, the thing that said </body>, but I don't know if that's the file. If this is not normal, then could someone send me the text of the file?
I really want to give my site a makeover, and I think this would help greatly.
Thanks for taking your time to read this, PLEASE reply soon! This thing has been bugging me since I discovered it, and the boring look of my site is torturing me.
Erm, that is all.
CHOW! And don't touch the sushi.


XOXOXO,
Roxanne

Posted: Tue Jun 22, 2004 3:19 am
by Phalanx
Odd. What text editor are you using?

Incidentally, an indextemplate is simply a normal HTML page with Keentags in it. So you can actually rebuild one from scratch if you want, as long as you include the all important tags:

***advertisement***
***todays_comics***
***first_day*** ***previous_day*** ***next_day*** ***last_day***

And the obligatory 'This site hosted by Keenspace ' message.

As long as you name it indextemplate.html and have it in the /workspace folder, everything works fine.

Posted: Tue Jun 22, 2004 8:50 am
by Roxy
... I don't really know how to write HTML.
I barely know how to edit pages, least of all write them :( .
Is there any way to just get the basic page HTML for those two pages? It's the same for all newbies, right? I'm using AceHTML 6 Pro (^_^).

Posted: Tue Jun 22, 2004 3:35 pm
by Terotrous
I've seen this problem before when trying to open the files via Internet Explorer's web based FTP. I'd guess it has something to do with a program trying to read the files that isn't properly set to handle them. Indextemplates are somewhat impartial html, it's possible a really strict viewer wouldn't be able to render them.

You generally want to open these things with the absolute most basic text editor you can get your hands on. Notepad is good for PC, Simpletext or something like that on Mac, and so forth. You don't want to use programs like Word that add their own formatting.

Posted: Wed Jun 23, 2004 3:04 pm
by V.dog
IE is not an FTP client and should never be used as such. Personally, I recommend SmartFTP, but you can also find a list of others here.

As for a basic (and I do mean basic) template, try this:

Code: Select all

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>[page title]</title>
<style type="text/css">
<!-- 
body{background-color:[background color];}
div{color:[text color]}
.footer{font:7pt;}
.title{font:48pt;font-weight:bold;}
-->
</style>
</head>
<body>
<center>
<div>***advertisement***</div>
<div class="title">[comic title]</div>
<div>***todays_comics***</div>
<div>***first_day*** ***previous_day*** ***first_day*** ***last_day***</div>
<div class="footer">
[comic title] &copy; 2004 [your name]. All rights reserved.
<br />[comic title] is hosted on <a href="http://www.keenspace.com">KeenSpace</a>, a free webhosting and automation service for webcomics.
</div>
<center>
</body>
</html>
Just replace the bits in square brackets (including the square brackets) with the appropriate info.

(This can be used for both your dailytemplate.html and your indextemplate.html; KS will simply ignore ***next_day*** and ***last_day*** tags on your indextemplate)

Posted: Thu Jun 24, 2004 7:08 am
by YarpsDat
v.dog wrote:IE is not an FTP client and should never be used as such. Personally, I recommend SmartFTP, but you can also find a list of others here.
Command line FTP is teh best.