1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Convert your sitemap.xml to a usable sitemap.html file

Discussion in 'Google Sitemaps' started by frankm, Dec 30, 2005.

  1. #1
    As you might know, I run a site that generates google sitemaps, and as an extra service we now offer a small PHP file that can convert the generated XML File to a readable html file to put on your website.

    If you generate your own sitemaps and never have used our tool, this script might be useful as it saves you a lot of time :)
    SEMrush
    to download it , go to http://www.freesitemapgenerator.com/xml2html.html and ignore all message about generating sitemaps and cut and paste the code and tune it to fit your needs. all free, no guarantees etc. :) just post here if you have some feedback/errors etc
     
    frankm, Dec 30, 2005 IP
    SEMrush
  2. profs77

    profs77 Well-Known Member

    Messages:
    441
    Likes Received:
    39
    Best Answers:
    0
    Trophy Points:
    118
    #2
    Too bad my hosting company doesn't allow fopen(); in php.
     
    profs77, Jan 8, 2006 IP
  3. tkluge

    tkluge Peon

    Messages:
    54
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Another option is to use Google Sitemaps Stylesheet - here the browser creates an html page from the xml page internally - and the user just sees the html (when the browser supports xslt, which does more or less every modern browser).

    Tobias
     
    tkluge, Jan 8, 2006 IP
  4. safetin

    safetin Active Member

    Messages:
    128
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    58
    #4
    Thank you, and I try
     
    safetin, Jul 18, 2006 IP
  5. cormac

    cormac Peon

    Messages:
    3,662
    Likes Received:
    222
    Best Answers:
    0
    Trophy Points:
    0
    #5
    cormac, Jul 21, 2006 IP
  6. websitetools

    websitetools Well-Known Member

    Messages:
    1,508
    Likes Received:
    25
    Best Answers:
    4
    Trophy Points:
    170
    #6
    websitetools, Jul 22, 2006 IP
    miko67 likes this.
  7. hans

    hans Well-Known Member

    Messages:
    2,924
    Likes Received:
    126
    Best Answers:
    1
    Trophy Points:
    173
    #7
    common Tobias
    I am sure it would be much easier for you to CREATE a few script lines IN your own sitemap generator
    http://enarion.net/google/phpsitemapng/

    to cleanly CREATE an .html sitemap PLUS a .txt urllist to finally please ALL SE's on the market

    the sitemap is NOT for readers/site-visitors but above all for SEs and hence for bots grabing the sitemaps in whatever format they love to swallow for later processing

    a CSS solution is far below your potential of what you can do for us global sitemap needing community
    :) !!
     
    hans, Jul 26, 2006 IP
  8. costa blanca

    costa blanca Peon

    Messages:
    35
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    tried this software and got really confured with it, could you explain it a bit more easier.
     
    costa blanca, Nov 23, 2006 IP
  9. websitetools

    websitetools Well-Known Member

    Messages:
    1,508
    Likes Received:
    25
    Best Answers:
    4
    Trophy Points:
    170
    #9
    Do you mean what I linked to?
    For quick 1 minute step-by-step tutorial, see article: How to create your first website sitemap
     
    websitetools, Nov 23, 2006 IP
  10. kgrad

    kgrad Well-Known Member

    Messages:
    2,414
    Likes Received:
    82
    Best Answers:
    0
    Trophy Points:
    130
    #10
    This might not be as helpful, as most hosting providers would not provide fopen(); function in php.
     
    kgrad, Jan 29, 2007 IP
  11. mjesales

    mjesales Peon

    Messages:
    326
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    0
    #11
    I realize that i am late in joining this discussion... but i run an article directory with over 150,000 artcles - has anyone run this on a larger site?
     
    mjesales, Apr 12, 2007 IP
  12. anglefourfivemedia

    anglefourfivemedia Banned

    Messages:
    742
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #12
    I know how to write xml for rss feeds...super easy its just regular text...but I'm wondering if anybody has an example of xml sitemap optimized for google that they would like to share with this thread?

    Thnx!!

    Go Boston!!
     
    anglefourfivemedia, Jun 2, 2008 IP
  13. djixas

    djixas Well-Known Member

    Messages:
    751
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    110
    #13
    Any ideas on how to convert HTML sitemap to XML?
     
    djixas, Jun 24, 2008 IP
  14. adstiger

    adstiger Peon

    Messages:
    409
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #14
    I got an error when I run this script on my hosting. The error is: "undefined"
     
    adstiger, Apr 16, 2009 IP
  15. absoluteczech

    absoluteczech Guest

    Messages:
    37
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #15
    will these work well on a forum?
     
    absoluteczech, Apr 16, 2009 IP