Is there a complete, up to date tag list anywhere?
I've come accross like a ***include*** tag on the forums, but so far have not found it documented..
So is there a list somewhere? and/or how to i use the include tag?
Tags
The Taglossary is the most complete listing of ***tags*** I know of. The ***include *** ***tag*** is pretty simple. Just put ***include <i>whatever.html</i>*** in your pages where you want <i>whatever.html</i> to be included, then put <i>whatever.html</i> in workspace/webpages/
<i>whatever.html</i> will be copied line by line ( <html tags> and all) into the document the ***include *** tag is in. <i>whatever.html</i> could also have a .txt extension or even no extension.
***include *** is useful for putting say, copyright information at the bottom of all your pages.
<i>whatever.html</i> will be copied line by line ( <html tags> and all) into the document the ***include *** tag is in. <i>whatever.html</i> could also have a .txt extension or even no extension.
***include *** is useful for putting say, copyright information at the bottom of all your pages.
Yeah, just go to your members area and click on the keenspace tagtorial then there is another link halfway down called the taglossary. CLick on that and your worries are over. if not, check out http://gear.keenspace.com
I read it can be used for blogger, but as far as i can see, you still have to update index.hml every time you upload a new blogger.htmlOn 2002-04-10 09:23, Atrus wrote:
***include *** is useful for putting say, copyright information at the bottom of all your pages.
I tried using iframes, but then you have to run the update script to move things from /workspace/website/ or whatever to /public_html... Or can i get blogger to upload directly to /public_html/ and not worry about it getting deleted on an update or something?
And iframes are a pain because you can't get all the text in the file to display without trying to scroll or specifying a really huge height attribute...
Hmm, I've been thinking (haven't had time to write) a bit of perl to do a similar function. Back to blogger, you can have it upload directly to public_html without worrying about it being over written during an update as long as a page with the same name doesn't exist in workspace/webpages/
And yes, the text specified from the file included via the ***include *** ***tag*** is only written during an update, so an iframe is the only option for a blogger system, unless you could tell it to use the updater somehow, which I doubt.
And yes, the text specified from the file included via the ***include *** ***tag*** is only written during an update, so an iframe is the only option for a blogger system, unless you could tell it to use the updater somehow, which I doubt.
Perl function to allow news updates?
If the server provided server side includes or something, it could be done that way...
But as for iframes, i'm using:
<iframe frameborder="0" scrolling="no" height="500" width="90%" src="http://girlstreet.keenspace.com/blogger ... ***include blogger.html***</iframe>
But is there any easy way of making it display the entire file without scrolling?
i tried height="100%" but that showed nothing.
Any ideas?
If the server provided server side includes or something, it could be done that way...
But as for iframes, i'm using:
<iframe frameborder="0" scrolling="no" height="500" width="90%" src="http://girlstreet.keenspace.com/blogger ... ***include blogger.html***</iframe>
But is there any easy way of making it display the entire file without scrolling?
i tried height="100%" but that showed nothing.
Any ideas?
-
Mechanical_Ruins
- Regular Poster
- Posts: 64
- Joined: Fri Jan 01, 1999 4:00 pm
- Location: California, USA
- Contact:
*bites the bullet* okay, for those that have been wanting this... here it goes. This was painful, but this code will work. You must create a cgi-bin (below public_html). I call this comic.cgi, but you can call it whatever you desire. Here is the PERL source code. Items in bold are things you need to change. Once you create the .cgi file, you must CHMOD (change attributes) the file to 755 so that it will run as a script.
Once you have created that, it is time to prey you did it right. To insert your latest comic in public_html/comics, use the following IMG tag:
IF you happen to be gutsy enough to try this, and you need some help, email me: jakob@felocity.org I am willing to see if you got it going right. Please, if you don't even know what PERL is, don't go trying this... I don't want to be responsible for fixing things you shouldn't be breaking. ^_^
Code: Select all
#!/usr/local/bin/perl
# Most Recent Comic
# Developed by Rudolph J. Heuser
# Low Fat Snack Food Theater
# Purpose: Returns contents of file that was modified most recently.
# CONFIG
# Set Home Directory. Change only the username.
$dir = "/home/space/[b]USERNAME[/b]/public_html/comics/";
# Set the extention of your comics
$ext = "[b].gif[/b]";
# END CONFIG
# DON'T MESS WITH ANYTHING BELOW THIS LINE
# ----------- line -----------
system("cd $dir");
($Second, $Minute, $Hour, $Day, $Month, $Year, $WeekDay, $DayOfYear, $IsDST) = localtime(time);
# fix that year
$YearG = $Year + 1900;
# fix that month
$Month = $Month + 1;
if($Month < 10)
{
$MonthG = "0" . $Month;
} else
{
$MonthG = "" . $Month;
}
# fix that day
if($Day < 10)
{
$DayG = "0" . $Day;
} else
{
$DayG = "" . $Day;
}
# file is 20020213 (02-13-2002)
$file = "$YearG$MonthG$DayG";
until (-e "$dir$file$ext") {
# -1 from day
$Day = $Day-1;
if ($Day == 0) {
$Month = $Month-1;
$Day = 31;
}
if ($Month == 0) {
$Year = $Year-1;
$Month = 12;
}
# fix that year
$YearG = $Year + 1900;
# fix that month
if($Month < 10)
{
$MonthG = "0" . $Month;
} else
{
$MonthG = "" . $Month;
}
# fix that day
if($Day < 10)
{
$DayG = "0" . $Day;
} else
{
$DayG = "" . $Day;
}
$file = "$YearG$MonthG$DayG";
}
open(FILE, "$dir$file$ext");
binmode(FILE);
while ($line = <FILE>) {
print ($line);
}
close(FILE);
Code: Select all
<img src="/cgi-bin/comic.cgi">
<font size="-1">% make sense<br><a href="http://www.felocity.org" target="_blank">http://www.felocity.org</a></font>
-
Mechanical_Ruins
- Regular Poster
- Posts: 64
- Joined: Fri Jan 01, 1999 4:00 pm
- Location: California, USA
- Contact:
Oh, and I should mention it's use. If used correctly, you can then put your "latest comic" anywhere. Meaning you can use that IMG tag in a blogger update, and poof, pretty page.
Does this have limited uses? Sure. But given time constraints, it's not that bad.
If anyone can think of other uses, please feel free to speak up.
Does this have limited uses? Sure. But given time constraints, it's not that bad.
If anyone can think of other uses, please feel free to speak up.
<font size="-1">% make sense<br><a href="http://www.felocity.org" target="_blank">http://www.felocity.org</a></font>

