Home Page | Illustration | Photography | Writing -Content Creation | Buy Art, Shirts, Gifts, Posters
Paintings | Free Stuff | Brandi's BlogNewsletters | Contact Brandi
 

Programs - HTML2JS

My friend Darren Lawrence and I have come up with an awesome little tool for writers and web content developers that we are calling HTML2JS. In a nutshell, it converts your HTML web page to a Javascript page, greatly simplifying the process of self-syndicating your Internet and web-based content.

Say you have a weekly column that you are selling to a dozen newspaper clients. Right now, you have to manually track who to send it to each week. You can email it to those clients, but then you have no control over how your content appears, and they have to go through the hassle of formatting it for their web page, putting it into their content management systems, etc.

Wouldn't you rather just upload one file to your web site each week that automatically feeds out your content to your clients? "I can do that with RSS" I can hear you say ... well some of you. The rest of you, the majority, will either say RSS or will roll your eyes, because you know the "really simple" part is only really simple to major geeks.

JavaScript used to be no better. It was a tedious nightmare to convert HTML web pages into JavaScript by hand - there was no simple program to convert a document from HTML into JavaScript.  So I asked my friend to write up this nifty little program for me ... and now I can offer it to you for the low price of $49.95.

HTML2JS is simple for you and your clients. All you have to do is run the executable file we provide, pick out the html file you want to convert to JavaScript, and save the file. You then upload your JavaScript and any images you have associated with the original HTML, and provide your client with a simple tag for their web site. Each week you upload a new JavaScript file with your new content, and it automatically feeds your content onto their site.

The content can be as simple as the three to four line horoscopes on my astrological pages or as complex as a page like this one.

There are some limitations. You cannot reliably embed Google's AdSense or other script-based programs into your feeds. They seem to work in terms of function, but for some reason they don't display where you want them, and using them in this manner may violate Google's TOS (If your client is also running AdSense on that page, for example). Other database or java-driven content may or may not function, and is not supported in our license. This program is primarily for artists, writers, photographers, and other content professionals to self-syndicate their content quickly and easily. If you wish to offer free content that you monetize or subsidize with advertising, this program will be helpful if you use ordinary links or banner ads. We make no guarantees that it will support any form of database or script-driven ad delivery such as AdSense.

How to use HTML2JS

First, set up your content in the format it should appear on your client's page. I try to keep my content as basic as possible. I don't set standard sizes that will require my clients to fit their designs to my work. So I don't use set sizes for tables or boxes, unless that is something my client requests. For this sample, I will use a simple advertisement for one of my puzzles.

First things first - make sure that all of the tags for your images contain the full URL, not virtual or relative links.

Don't: <img src="angel01.jpg">

Do: <img src="http://www.brandijasmine.com//puzzles/angel01.jpg">

Run HTML2JS. All Done! Processed. Now, when I look in the directory where angel.html is stored I see a new file, angel.js. With me so far? Good!

Because I am referring to content that is already on my web site (including the photographs in the article), the only file I have to upload is "angel.js". If I were including new content, I would have to upload any image files referred to in the article.

Next, I tell my subscribers that they can use the following tag on their sites:

<script type="text/javascript" src="http://www.brandijasmine.com/web/programs/angel.js"></script>

Try it on your own site! Drop this code anywhere, into any table or page where you would like the article to appear. I have set up a blank page with nothing but this script on it here.

Terms and Conditions of Use


Looking for something in the Gallery?
Try this Google Search panel:

Web www.brandijasmine.com

 


Other sites by Brandi Jasmine:

Living With Your Psychic Gifts - Astrology.ca Horoscopes
Staci's Place: Stop Bullies - Jasmine's Carousel - JasmineCats.com

© 2007 Brandi Jasmine, All Rights Reserved
Privacy Policy - Abuse Policy