From: cristina
Date: Wed, 9 Jul 2008 12:03:22 -0700 (PDT)
Local: Thurs, Jul 10 2008 5:03 am
Subject: Re: python sitemap_gen.py MemoryError
You can filter out directories from the sitemap
with the filter nodes. The filter nodes apply to URLs, so to filter out the /parts/ directory you can add to your config.xml file something like <filter action="drop" type="wildcard" pattern="http://www.yoursite.com/
If you want, for example, to include only the
<filter action="pass" type="wildcard" pattern="http://
or you could try the type="regexp" filters.
You can see from the comments in the example_config.xml file that
Cristina.
On Jul 8, 2:30 pm, BadXAsh wrote:
> Well i ran just the '85 dodge aries folder and it ran perfectly,
> finished in the blink of an eye. I also tried to run just the /parts/ > directory, which is the single largest directory on my site. A page > for each and every part for every vehicle from 1965 thru 2007, so as > you can imagine it's rather large. Just walking along that directory > Sitemapping it alone failed in MemoryError as well. Though it went > past the '85 dodge aries it crashed out in the '86 year, Something > similar though is that it crashed when it reached mid page 55 of the > Sitemaps. > So I'm wondering can i set up a filter to break down the /parts/
> Or should i just abandon all hope?? hehe Thank you for your help so
> On Jul 2, 6:31 pm, cristina wrote:
> > Can you run the sitemap generator more than once
> > For example first time run the sitemap generator
> > <directory
> > change default_file to index.shtml
> > It is not great, just to check that the
> > Cristina.
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||