Inserting XML into HTML

  • rocketman
  • Born
  • Born
  • rocketman
  • Posts: 2

Post 3+ Months Ago

I would like to insert an sitemap(.xml) genarated by a third party into my current website. I do not want this to be a page. All I want is for spiders to see it and read it. How do I insert this code into HTML.
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • spork
  • Brewmaster
  • Silver Member
  • User avatar
  • Posts: 6229
  • Loc: Seattle, WA

Post 3+ Months Ago

You don't place XML sitemaps into HTML. Upload the sitemap.xml file to the root of your site and submit it to search engines. You can do this for Google using Google Webmaster Tools. I'd assume other search engines have similar methods but you'll have to look those up yourself as I haven't used them before.
  • bin
  • Beginner
  • Beginner
  • bin
  • Posts: 41

Post 3+ Months Ago

I agree with spork. Just upload the XML sitemap on your website and you can view that page at http://www.yoursite.com/sitemap.xml . Submit this XML sitemap to Google as spork said. You can also submit to Yahoo Site Explorer and MSN Site Center.
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Posts: 23455
  • Loc: Woodbridge VA

Post 3+ Months Ago

they'll find it even if you don't submit it.
  • joebert
  • Sledgehammer
  • Genius
  • User avatar
  • Posts: 13496
  • Loc: Florida

Post 3+ Months Ago

Do search engines look for "sitemap.xml" like they do "robots.txt" now ?

I haven't generated a sitemap in months.
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Posts: 23455
  • Loc: Woodbridge VA

Post 3+ Months Ago

Well, actually you do have to give them a little help. But it's as simple as adding it to your robots.txt file

http://blog.ask.com/2007/04/sitemaps_autodi.html
Quote:
April 11, 2007
Sitemaps Autodiscovery

Today, Ask.com, Google, Microsoft Live Search and Yahoo! together are announcing support of “autodiscovery” of Sitemaps. The new open-format autodiscovery allows webmasters to specify the location of their Sitemaps within their robots.txt file, eliminating the need to submit sitemaps to each search engine separately.


http://blog.hummerbie.com/sitemapxml-an ... robotstxt/
Quote:
It is going to be simple addition to your robots.txt file like:

SITEMAP: http://www.the URL of your sitemap here.xml

You need to put in the full URL, like for this site is is going to be

SITEMAP: http://blog.design-cars.com/sitemap.xml


I knew I had read about that awhile back but I forgot about the robots.txt entry.
  • joebert
  • Sledgehammer
  • Genius
  • User avatar
  • Posts: 13496
  • Loc: Florida

Post 3+ Months Ago

That does ring a bell now that you mention it.

Adding it to robots.txt sure beats the hell out of submitting it manually. It seems like all these things I see people telling me to submit to search engines are easier picked up by leaving little hints somewhere else instead of bugging the search engines.
  • spork
  • Brewmaster
  • Silver Member
  • User avatar
  • Posts: 6229
  • Loc: Seattle, WA

Post 3+ Months Ago

Excellent. Noted.
  • StarBucks
  • Student
  • Student
  • StarBucks
  • Posts: 85

Post 3+ Months Ago

It is more on adding the url of your sitemap where your xml is placed
  • kikwete
  • Novice
  • Novice
  • kikwete
  • Posts: 17

Post 3+ Months Ago

Try his code and u got clear....
Code: [ Select ]
<font size="2" color="#0000FF"><?xml
version="1.0"?>
<br><?xml-stylesheet type="text/xsl" href="XSL004.xsl"?>
</font>
<p><font size="2" color="#0000FF"><top <b>...</b>
<br> <theData>
<br>     
<title><b>Java</b></title>
<br>     
<author><b>R.Baldwin</b></author>
<br>     
<price><b>$9.95</b></price>
<br> </theData></font>
  1. <font size="2" color="#0000FF"><?xml
  2. version="1.0"?>
  3. <br><?xml-stylesheet type="text/xsl" href="XSL004.xsl"?>
  4. </font>
  5. <p><font size="2" color="#0000FF"><top <b>...</b>
  6. <br> <theData>
  7. <br>     
  8. <title><b>Java</b></title>
  9. <br>     
  10. <author><b>R.Baldwin</b></author>
  11. <br>     
  12. <price><b>$9.95</b></price>
  13. <br> </theData></font>
  • openwave
  • Born
  • Born
  • openwave
  • Posts: 1

Post 3+ Months Ago

you can upload the XML sitemap on your website and you can view that page at http://www.yoursite.com/sitemap.xml . Submit your XML sitemap to Google as spork. You can also submit to Yahoo Site Explorer.

Post Information

  • Total Posts in this topic: 11 posts
  • Users browsing this forum: No registered users and 2 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.