funkstar Wrote:
> as said above
>
> <!--#include file="name-of-file" -->
>
> should do it
Thanks, but no dice ;-) I tried:
<!--#include file="songinfo.txt" -->
<!--#include file="songinfo" -->
<!--#include file=./songinfo -->
<!--#include file=./songinfo.txt -->
Here is the source from the weblog creator's site:
Gary is listening to...
[!-- td valign="top"][img
src="/graphics/icon64.gif"][/td -->
[img src="./albumart.jpg"]
*Penn State, PA 5-3-03*
*by: *Pearl Jam
[/span]
[img src="./logosmall.GIF"]
[!-- Gets rid of leading, and trailing LF/CRs --]
[!-- More complicated than it needs to be, so I can cut & paste it into
something else easily --]
[!--
function removeLF(wl_obj,wl_var)
{
eval("var obj=document.getElementById('"+wl_obj+"');");
eval("var str=obj."+wl_var+";");
while((str.charAt(0)=='\n')||(str.charAt(0)=='\r')) {
str=str.substr(1,str.length-1);
}
while((str.charAt(str.length-1)=='\n')||(str.charAt(str.length-1)=='\r'))
{
str=str.substr(0,str.length-1);
}
eval("obj."+wl_var+"=str;");
}
removeLF('weblogger_mouseover','title');
// --]
[!-- squeezeboxDisplay --]
[!-- componentBlogrollItem --]
[!-- componentBlogroll --]
[!-- componentContent --]
[!-- component --]
It's all greek to me ;-)
thanks,
-gary
--
grcooper
------------------------------------------------------------------------
grcooper's Profile: http://forums.slimdevices.com/member.php?userid=5620
View this thread: http://forums.slimdevices.com/showthread.php?t=24506
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/plugins