JavaScript -> HTML

J

John Telford

I know this sound strange. I need is to convert a JavaScript Web site into
HTML so Atomz <http://www.atomz.com/> can generate a search index for the
site.

Is there such a utility?

...John
 
B

Brian Genisio

John said:
JavaScript does most everything on the site.
Check it out at <http://lotsoflinks.johntelford.com/>

------------------------------------------------------------------------
John Telford - Owner - JohnTelford.com LLC
503-292-6865 - fax: 503-292-3094
Email: (e-mail address removed)
Web: http://www.johntelford.com Weblog: http://ITnews.johntelford.com

Well, I want to start out by saying that I really like the navigation of
this site. It feels like a book, and I like that. Well done.

From what I _understand_ of your code, you are dynamically creating all
of your content, from some sort of database. (When I say database, I
dont necessarially mean Sybase, MySQL, Oracle, etc... I simply mean some
sort of central location of the data, being a flatfile, or whatever.)
Though, it is possible that your pages of links are individual pages.

From what I understand of Orbits, it will traverse your site, by links.
If you are using a database to dynamically create your content, it
would be like asking Orbits to index Ebay... it is not really possible.
Although, if you are using a database, you can create your own search
engine.

If, instead, you are using the multiple pages approach, and loading
their content on the fly, then you may have something you can do... All
you really need to do, is have the pages linked from a page somehow.

One idea is to put links to all of your pages in a <DIV> tag, inside one
of your frames. Make the <DIV> hidden. Orbits will see it, but your
users wont. Then, on each content page, include some javascript that
will check to make sure that the book wrapper is there, and reload with
the book wrapper. Orbits will make a link to the content, and the user
will see the page as you intend.

Just some thoughts... regardless of anything, you should probably create
a non-Javascript page option, since browsers without Javascript will
never be able to use your page.

Brian
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top