ArticleViews : 1 View more How to Article articles Friday Mar 19th, 2004
Syndicate your Content using ASP
More How to Article Articles

Syndicate your Content using ASP



Author: Jonathan Malm
Date Added: Friday Mar 19th, 2004

Category: How to Article
Syndicate your Content using ASP

Do you know ASP? If so, it is easy to syndicate your content using a few JavaScript techniques. All you need to do is make an ASP page that will create HTML tags, such as this:
<%
Dim thehtml
thehtml = \"content\"
%>

You then would simply add this line:
document.write(\"<% = thehtml %>\")

What this does, is output a JavaScript file, then all you need to do to get other sites to be able to use it, is give them this HTML text:


Then you have your syndicated content!

TIPS:
1. Make sure that the \"content\" section does not contain any quotation marks other than the first and last. For instance, if the output text was this:
Then he said, \"Hahaha,\" deviously.

You would get a JavaScript error message.
Replace quotation marks with apostrophes.

2. Always add a line like this to the ASP page:

3. Also, you can add a section, just in case a user with an older browser visits the page containing the feed.

ex.

This usually goes after the tags, not between!

4. If you want webmasters to know about your content, contact the Stickymaster and get it listed in the FreeSticky index.

Copyright © 2000 Jonathan Malm, All Rights Reserved .
Author Information:
Jonathan Malm - J-scripts.com.


Search Terms for this article include : how to write a resume, how to masturbate, how to sew, how to draw manga, how to make a, how to deal lyrics, how to get pregnant, how to make, how to grill, how to make origami, how to make a girl feel, learn how to draw, how to steal, how to make chocolate, how to organize, Article24