• Welcome to Sitemap Generator Forum.
 

"Parse ONLY" URLs: syntax

Started by Hubert.Zumwald, September 19, 2017, 08:56:46 AM

Previous topic - Next topic

Hubert.Zumwald

Hi all,

we have a website in 10 languages https:/www.swissinfo.ch, and we would like to have a sitemap pro languages.
So my first idea is to have 10 instances of Unlimited PHP Sitemap Generator.

But I don't want the website to be completly parsed 10 times, so I wanted to use the "Parse ONLY" URLs configuration.

Here is an excerpt of the config:
        <option name="xs_initurl">[ External links are visible to forum administrators only ]</option>
        <option name="xs_parse_only">eng eng/</option>

but I end up with other languages in the sitemap.

If I change the config to this:
        <option name="xs_initurl">[ External links are visible to forum administrators only ]</option>
        <option name="xs_parse_only">eng/</option>

(slash at the end), then I only get 70 urls

What am I missing ?
Do you have any tips to achieve what we want ?

Thanks,

Regards.

XML-Sitemaps Support

Hello,

what is an example URL that is not included in sitemap and how it can be reached starting from homepage with the second configuration option?

Hubert.Zumwald

Hi,

For example, this url is not included
[ External links are visible to forum administrators only ]

From the homepage you can reach it like this
[ External links are visible to forum administrators only ] -> [ External links are visible to forum administrators only ] (Via Menu)
then it is the second article item on the page

[ External links are visible to forum administrators only ] is included in the sitemap


XML-Sitemaps Support

Hello,

if you have Starting URL set to [ External links are visible to logged in users only ] you don't need to use "Parse only" setting (this setting is relative to starting URL) since only links starting with [ External links are visible to logged in users only ] will be processed.

Hubert.Zumwald

Hi,

All our languages are link together (translation of articles) so when I first try what you suggest, the tools ended up parsing the whole site, for generating the english sitemap.
If I want to to that for all languages, I need to parse the whole website 10 times...
This is want I tried the parse only configuration, but it does not seem to work like I thought.

Do you have some hint for what I want to achieve ?

thanks for your time.

XML-Sitemaps Support

Hello,

in case if language versions are located in different folders you can specify [ External links are visible to logged in users only ] as Staring URL first, create sitemap, then change Starting URL to [ External links are visible to logged in users only ] etc.