"Parse ONLY" URLs: syntax
« on: September 19, 2017, 08:56:46 AM »
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.
Re: "Parse ONLY" URLs: syntax
« Reply #1 on: September 19, 2017, 10:35:24 AM »
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?
Re: "Parse ONLY" URLs: syntax
« Reply #2 on: September 19, 2017, 12:58:24 PM »
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
Re: "Parse ONLY" URLs: syntax
« Reply #3 on: September 20, 2017, 08:32:13 AM »
Hello,

please let me know your generator URL/login in private message to check this.
Re: "Parse ONLY" URLs: syntax
« Reply #4 on: September 21, 2017, 05:22:24 AM »
Hello,

if you have Starting URL set to [ External links are visible to forum administrators 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 forum administrators only ] will be processed.
Re: "Parse ONLY" URLs: syntax
« Reply #5 on: September 21, 2017, 06:43:21 AM »
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.
Re: "Parse ONLY" URLs: syntax
« Reply #6 on: September 21, 2017, 08:31:06 AM »
Hello,

in case if language versions are located in different folders you can specify [ External links are visible to forum administrators only ] as Staring URL first, create sitemap, then change Starting URL to [ External links are visible to forum administrators only ] etc.
Re: "Parse ONLY" URLs: syntax
« Reply #7 on: September 21, 2017, 08:31:51 AM »
Just make sure to include the ending slash character in  Starting URL setting.