alkalar
Jun 3 2008, 11:58 AM
I'm trying to include some formatted boilerplate on several category pages.
Since category pages are written for ASP, I figured I could do it with:
<%
#Include File="/include/RemanTextLowerUnits.htm"
%>
But all I get is the code spit back on the page, rather than the text I'm trying to include.
If I can figure this out, I only have to change one file to change all the category pages (using them as landing pages for Google PPC).
I'm also trying to include a style statement, which might not work since the location is inside a table.
Can anyone help me figure this out?
Monster Tech Lead
Jun 3 2008, 12:22 PM
Hi alkalar,
Includes will only work for css or JS files I believe. You would most likely want to use an IFrame for this. Note though that this is not very good for SEO I believe to use an IFrame.
Another solution though would be to use Javascript to read that html file and then write it out to the screen. I don't know though if that is any better though for SEO.
Iframe -
http://www.w3schools.com/TAGS/tag_iframe.aspJavascript read and write -
http://www.c-point.com/JavaScript/articles..._JavaScript.htmHope this can help
Joe
alkalar
Jun 4 2008, 12:50 PM
QUOTE(

Tech Lead @ Jun 3 2008, 04:08 PM)

Hi alkalar,
Includes will only work for css or JS files I believe. You would most likely want to use an IFrame for this. Note though that this is not very good for SEO I believe to use an IFrame.
Another solution though would be to use Javascript to read that html file and then write it out to the screen. I don't know though if that is any better though for SEO.
Iframe -
http://www.w3schools.com/TAGS/tag_iframe.aspJavascript read and write -
http://www.c-point.com/JavaScript/articles..._JavaScript.htmHope this can help
Joe
Thanks, Joe.
Don't care as much about SEO for this project as for getting the text in front of the customer. It's a sales tool to make the customer feel warm and fuzzy about plunking down his hard earned cash on a big-ticket item. Some of the items are remanufactured and we want to tell them what care and quality goes into the items.