|
Thomas wrote a very
nice simple macro to generate a
Google sitemap from a
FrontPage Web by using the navigation structure.
Unfortunately it
only generates the "simple" text file format, which does not
allow you to specify useful meta information about the urls, in
particular I really wanted to be able to specify date/time for
each page so that Google would be able to know that some are old
(no point in checking them) while some are brand new (spider
them now!) Therefore I have adapted his code to generate an
XML file instead, and here it is! Download
Get the file here (2K)
Install
- Unzip the contained file "GoogleSiteMap.bas" to a
temporary directory
- Run FrontPage 2003
- Tools / Macro / Visual Basic Editor (or [Alt-F11] )
- File / Import file (or [Ctrl-M] )
- Select the "GoogleSiteMap.bas" you saved earlier
- Click [OK]
- Double click the GoogleSiteMap module in the left
pane
- Edit in the right pane as necessary the name of your
site map file (defaults sitemap.xml) and your timezone
- Press [Alt-Q] (save and close visual basic editor)
Usage
After updating your web site with new or changed
pages go:
- Tools / Macro / Macros or ([Alt-F8])
- Select the macro GoogleSiteMapCreate
- Click Run
- sitemap.xml is generated and a confirmation is
shown
- Publish your site as normal
- (Optional) Go to Macros again and run
GoogleSiteMapPing to inform Google of the update
Limitations
- This only includes the pages which are part of the
FrontPage navigation (could be fixed if you see a need)
- It will create one large, uncompressed, .xml file.
Therefore not suitable for sites with tens of thousands
of pages (but then neither is FP)
Support
Don't expect much! But you can try posting a
message in the Support forum (click tab at top of this
page)
Warrantee and guarantee
Absolutely none!
|