News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Sitemap

Started by SlammedDime, May 12, 2007, 05:43:04 PM

Previous topic - Next topic

coregej

i am using the default smf theme, after emulating to 2.0.2 version .i am still seeing this

" The package you are trying to download or install is either corrupt or not compatible with this version of SMF."  :(

what will i do?


Shambles

Emulate to "2.0 RC4"

Theatre Publicity

I expected this mod's XML file to show the prettyurls as seen in the html version. Was that not the design of the XML piece?

Thanks
Visit www.todosquepaso.com/simplemachinesforum to publicize your show or event. Purchase may be required.

Suki

Thats not how pretty urls works, you will need to manually modify the source code that generates the xml to include pretty urls.

Because of it nature, SimpleSEF works with this and any other sitemap mod.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Theatre Publicity

Visit www.todosquepaso.com/simplemachinesforum to publicize your show or event. Purchase may be required.

Fisch.666

Hi,

are you sure?

I'm running PrettyURLS 1.0 on a SMF 2.0.5 board and don't need to modify anything in the PrettyURLs source to get the urls in the xml shown with pretty urls.

Rattler

OK, after having used this mod (on 1.1.14) for years w/o problems, and without having changed anything (did not even update to 1.1.19) but having been absent for 6 month  the sitemap suddenly won´t parse into XML anymore, I get the following error (in Spanish, I will translate below):

QuoteError de lectura XML: declaración de texto o XML en un lugar distinto del principio de la entidad
Ubicación: http://www.warandtactics.com/smf/index.php?action=sitemap;xml
Número de línea 2, columna 1:<?xml version="1.0" encoding="UTF-8"?>
^

QuoteTranslation: Reading Error XML: Declaration of text or of XML in a place different from the first line
URL: http://www.warandtactics.com/smf/index.php?action=sitemap;xml
Line 2, column 1: <?xml version="1.0" encoding="UTF-8"?>
^

Seems the declaration takes place in line 2 instead of line 1, I have checked all code in the mod files and cannot imagine what might be wrong a what might have changed (repeat: Nothing was changed from the admin side during my 6 month absence).

Any ideas?

TIA,

Rattler
You can discuss with people, and sometimes it even makes sense to do so. Forget that when confronted with the cruel facts of life... (inspired by SiGnature™).

Rattler

Bumping, anyone?

Rattler
You can discuss with people, and sometimes it even makes sense to do so. Forget that when confronted with the cruel facts of life... (inspired by SiGnature™).

vbgamer45

Your link isn't working.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Rattler

Quote from: vbgamer45 on October 28, 2013, 10:09:09 AM
Your link isn't working.

Not anymore, owner decided yesterday not to pay anymore for a domain where I cannot get the sitemap working. I will be taking over the domain, but it takes time, approx. a week.

Still, any ideas anybody what might cause the behaviour explained above? Server side changes (host) that might be relevant?

TIA

Rattler
You can discuss with people, and sometimes it even makes sense to do so. Forget that when confronted with the cruel facts of life... (inspired by SiGnature™).

Rattler

Bumping, link working again:

Quote from: Rattler on October 24, 2013, 12:10:44 PM
OK, after having used this mod (on 1.1.14) for years w/o problems, and without having changed anything (did not even update to 1.1.19) but having been absent for 6 month  the sitemap suddenly won´t parse into XML anymore, I get the following error (in Spanish, I will translate below):

QuoteError de lectura XML: declaración de texto o XML en un lugar distinto del principio de la entidad
Ubicación: http://www.warandtactics.com/smf/index.php?action=sitemap;xml
Número de línea 2, columna 1:<?xml version="1.0" encoding="UTF-8"?>
^

QuoteTranslation: Reading Error XML: Declaration of text or of XML in a place different from the first line
URL: http://www.warandtactics.com/smf/index.php?action=sitemap;xml
Line 2, column 1: <?xml version="1.0" encoding="UTF-8"?>
^

Seems the declaration takes place in line 2 instead of line 1, I have checked all code in the mod files and cannot imagine what might be wrong a what might have changed (repeat: Nothing was changed from the admin side during my 6 month absence).

Any ideas?

TIA,

Rattler

Hope this helps, anybody welcome to help out, I am out of my depth.

Rattler
You can discuss with people, and sometimes it even makes sense to do so. Forget that when confronted with the cruel facts of life... (inspired by SiGnature™).

Thilo

Is anyone still using this mod ?

Well - to me it is still the best possibility to create a xml-sitemap.

But on my forum the xml-function isn't working anymore.

http://www.schwanger-online.de/forum/index.php?action=sitemap;xml

Somehow the beginning of the "<loc> - Part" is missing... ?

I'm using the PrettyURLs mod as well.

The none-xml Sitemap works just fine:
http://www.schwanger-online.de/forum/index.php?action=sitemap

If there are any other users - still using this mod - maybe you can tell me, what's wrong here...

Arantor

I would wonder if it's related to the Pretty URLs mod...

Thilo

Well - jep i don't think so as well - but on the last 2 pages of this thread it was mentioned that there might be a problem...

Thilo

ok - just wanted to say - that everything is working fine now with 2.0.9 and the sitemap mod from 2010 and the prettyurls.

My problem was the "news.php" file.

3 lines were commented out, which shouldn't surele not be commented...

Line 382:

   if (empty($modSettings['queryless_urls']) || ($context['server']['is_cgi'] && @ini_get('cgi.fix_pathinfo') == 0 && @get_cfg_var('cgi.fix_pathinfo') == 0) || (!$context['server']['is_apache'] && !$context['server']['is_lighttpd']))
      return $val;

   $val = preg_replace_callback('~^' . preg_quote($scripturl, '/') . '\?((?:board|topic)=[^#"]+)(#[^"]*)?$~', 'feed_fix__preg_callback', $val);
   return $val;

i don't know why this part was deactivated... ? Maybe another mod ? Who cares ... Everything is working fine now.

Thanks again for that nice sitemap mod!

Arantor

That would be pretty URLs deactivating it.

Fisch.666

Mhhh, those lines are commented out by the PrettyURLs installation. The xml sitemap works here on a SMF 2.0.9 without commenting in those lines.

tieulinh

I also have problems the same as ixobixo.

Kindred

be more clear. never say "I have the same problem as "someone""

1st -- this thread is over 100 pages. ixobixo is not a user who has posted in this thread recently.

2nd -- I can't find the post you are referencing, but, given that the user you mention has not posted in over 2 years - it might be the same, but chances are it is a different issue altogether.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Kitarist

I'm using pretty urls and sitemap mod together but the sitemap still displays the default links.

http://ceriatoneforum.com/sitemap/?xml

Anyone got any clue or is there any option to activate or fix this.

Thanks :)


Advertisement: