|
Feeds
- Downloads
- FAQ
- News
- Tutorials
|
|
|
View previous topic :: View next topic |
Author |
Message |
mp3pimp webmaster
Joined: Jan 02, 2008 Posts: 13
|
Posted: Mon Feb 25, 2008 4:53 pm Post subject: not well-formed | shortlinks |
|
|
Hi all.
I have some problems and you are onlyone who help me.
1
Quote: | XML Parsing Error: not well-formed
Location: http://www.********.***/modules.php?name=Sitemap&op=Google
Line Number 170, Column 125:
<loc>http://www.*********.***/modules.php?name=Downloads&d_op=viewdownloaddetails&ttitle=Connecter-R ft Bishop & Phelipe - We taken it&lid=368</loc> |
He told me that the & caracter is not alow.
There is a way to not show this errors other than rename my all files that have "&" ?
2
I use shortlinks on this nuke and you know how nukeseo list the links to google and to my SiteMap. How can i structure this links to show like i want : example : http://www.******.***/downloadview-details-339-James_Blunt_-_Carry_You_Home.html
I know where i have to make that changes but i do not know how.
Thanks very much for your atention guys. _________________ free ringtones - http://ringtones.isfree.org
Last edited by mp3pimp on Tue Mar 25, 2008 8:56 am; edited 1 time in total |
|
Back to top |
|
|
kguske Site Admin
Joined: May 12, 2005 Posts: 876
|
Posted: Mon Feb 25, 2008 10:35 pm Post subject: Re: not well-formed | shortlinks |
|
|
We definitely have some work to do for handling situations like this in the update for nukeSEO. For now, you may need to change the & to and in your download title. _________________ |
|
Back to top |
|
|
mp3pimp
|
Posted: Tue Feb 26, 2008 6:53 am Post subject: Re: not well-formed | shortlinks |
|
|
so, for 1 i have to rename files.
for 2 i have to wait an update.
Thanks a lot, kguske, for your answer.
I forgot to write an error from my control panel.
Sorry.
So, here it is:
****php?op=nukeSEOmeta | admin panel
Quote: | Warning: array_flip() [function.array-flip]: The argument should be an array in **********/admin/modules/nukeSEO/nukeSEOMETAfunc.php on line 106 |
Quote: | Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in *******/admin/modules/nukeSEO/nukeSEOMETAfunc.php on line 125 |
Quote: | Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in *******/admin/modules/nukeSEO/nukeSEOMETAfunc.php on line 131 |
I look in that file but doesn't seams something wrong.
What can i do ? |
|
Back to top |
|
|
montego webmaster
Joined: Dec 26, 2005 Posts: 254
|
|
Back to top |
|
|
montego
|
Posted: Tue Feb 26, 2008 5:22 pm Post subject: Re: not well-formed | shortlinks |
|
|
Got your PM, but just realized that you had these other errors listed above? I won't be able to look at your site until later tonight or tomorrow. I'll see if I can see anything obvious, but at this point, I am a little short on time. |
|
Back to top |
|
|
mp3pimp
|
Posted: Tue Feb 26, 2008 6:02 pm Post subject: Re: not well-formed | shortlinks |
|
|
montego wrote: | Got your PM, but just realized that you had these other errors listed above? I won't be able to look at your site until later tonight or tomorrow. I'll see if I can see anything obvious, but at this point, I am a little short on time. |
montego, for me is most important to make that shortlinks, this errors are important but for me are on second plan
Thanx a lot guys for help. |
|
Back to top |
|
|
montego
|
Posted: Wed Feb 27, 2008 7:58 am Post subject: Re: not well-formed | shortlinks |
|
|
What Download module are you using please?
(By the way, having ttitle in the links can be troublesome, especially if you have special characters or sometimes even parenthesis can cause NukeSentinel bans. Its why we stripped ttile out of the RavenNuke(tm) version of Downloads.) |
|
Back to top |
|
|
montego
|
Posted: Wed Feb 27, 2008 8:05 am Post subject: Re: not well-formed | shortlinks |
|
|
You may want to try the following:
$urlin:
'"modules.php\?name=Downloads&d_op=viewdownloaddetails&ttitle=([/:\-\'{}()\,\._&a-zA-Z0-9+= ]*)&lid=([0-9]*)"',
$urlout:
'downloadview-details-\\2.html',
You should already have the necessary .htaccess rewrite rule for this, but test it out. |
|
Back to top |
|
|
mp3pimp
|
Posted: Wed Feb 27, 2008 4:37 pm Post subject: Re: not well-formed | shortlinks |
|
|
montego wrote: | You may want to try the following:
$urlin:
'"modules.php\?name=Downloads&d_op=viewdownloaddetails&ttitle=([/:\-\'{}()\,\._&a-zA-Z0-9+= ]*)&lid=([0-9]*)"',
$urlout:
'downloadview-details-\\2.html',
You should already have the necessary .htaccess rewrite rule for this, but test it out. |
montego, here is about lines that i should write in GT-Sitemap.php and GT-SitemapGoogle.php to replace that links ?
Quote: | What Download module are you using please? |
It's raven module. standard module from raven script. old version. (RavenNuke_v2.10.01)
I am sorry because i do not understand this informations, from you, well.
Quote: | (By the way, having ttitle in the links can be troublesome, especially if you have special characters or sometimes even parenthesis can cause NukeSentinel bans. Its why we stripped ttile out of the RavenNuke(tm) version of Downloads.) |
About ttitle i do not have in front page on that module.
Only show the id.
On top downloads show ttitle but not because i want so is because this way aply the shortlinks. I didn't make any changes in shortlink files even folder or htaccess. I use only that information from ravennuke script.
Best regards. |
|
Back to top |
|
|
montego
|
Posted: Wed Feb 27, 2008 6:21 pm Post subject: Re: not well-formed | shortlinks |
|
|
Tell you what. Send me the following files:
ShortLinks/GT-Sitemap.php
ShortLinks/GT-SitemapGoogle.php
.htaccess (feel free to cut out only the rewrite rules if you like)
And I will change this for you. You may send them to:
montego AT montegoscripts __DOT__ com.
And, if it fixes you up, maybe consider a small donation. |
|
Back to top |
|
|
montego
|
Posted: Wed Feb 27, 2008 8:04 pm Post subject: Re: not well-formed | shortlinks |
|
|
Ok, I see that the rewrite rules on my site were for NSN GR Downloads, a different download module. So, what I will do is place the taps here for this site to work with the standard Downloads module which comes with PHP-Nuke / RavenNuke(tm). I'll write up a similar tap on my site too.
=== OPEN FILE ===
ShortLinks/GT-Sitemap.php
=== REPLACE WITH ===
Code:
$urlin = array(
'"(?<!/)modules.php\?name=Forums&file=viewtopic&t=([0-9]*)&mode=&order=0&thold=0"',
'"(?<!/)modules.php\?name=Forums&file=viewtopict=([0-9]*)"',
'"(?<!/)modules.php\?name=News&file=article&sid=([0-9]*)&mode=&order=0&thold=0"',
'"(?<!/)modules.php\?name=News&file=article&sid=([0-9]*)"',
'"(?<!/)modules.php\?name=Downloads&d_op=viewdownloaddetails&ttitle=([/:\-\'{}()\,\._&a-zA-Z0-9+= ]*)&lid=([0-9]*)"',
'"(?<!/)modules.php\?name=Downloads&op=getit&lid=([0-9]*)"',
'"(?<!/)modules.php\?name=Surveys&op=results&pollID=([0-9]*)"',
'"(?<!/)modules.php\?name=Encyclopedia&op=content&tid=([0-9]*)"',
'"(?<!/)modules.php\?name=Encyclopedia&op=list_content&eid=([0-9]*)"',
'"(?<!/)modules.php\?name=FAQ&myfaq=yes&id_cat=([0-9]*)"',
'"(?<!/)modules.php\?name=Content&pa=showpage&pid=([0-9]*)"',
'"(?<!/)modules.php\?name=Web_Links&l_op=viewlink&cid=([0-9]*)"'
);
$urlout = array(
'ftopict-\\1.html',
'ftopict-\\1.html',
'article\\1.html',
'article\\1.html',
'downloadview-details-\\2.html',
'download-file-\\1.html',
'survey-results-\\1.html',
'encyclopedia-\\1.html',
'encyclopedia-list-\\1.html',
'faq-\\1-.html',
'content-\\1.html',
'link-\\1.html'
);
|
Of course, you must replace the like-kind code, not the entire file.
=== OPEN FILE ===
ShortLinks/GT-SitemapGoogle.php
=== REPLACE WITH ===
Code:
$urlin = array(
'"modules.php\?name=News&file=article&sid=([0-9]*)&mode=&order=0&thold=0"',
'"modules.php\?name=News"',
'"modules.php\?name=Content&pa=showpage&pid=([0-9]*)"',
'"modules.php\?name=Content"',
'"modules.php\?name=Downloads&d_op=viewdownloaddetails&ttitle=([/:\-\'{}()\,\._&a-zA-Z0-9+= ]*)&lid=([0-9]*)"',
'"modules.php\?name=Downloads&op=getit&lid=([0-9]*)"',
'"modules.php\?name=Downloads"',
'"modules.php\?name=Forums&file=viewtopic&t=([0-9]*)&mode=&order=0&thold=0"',
'"modules.php\?name=Forums"',
'"modules.php\?name=Surveys&op=results&pollID=([0-9]*)"',
'"modules.php\?name=Surveys"',
'"modules.php\?name=Encyclopedia&op=content&tid=([0-9]*)"',
'"modules.php\?name=Encyclopedia&op=list_content&eid=([0-9]*)"',
'"modules.php\?name=Encyclopedia"',
'"modules.php\?name=FAQ&myfaq=yes&id_cat=([0-9]*)"',
'"modules.php\?name=FAQ"',
'"modules.php\?name=Web_Links&l_op=viewlink&cid=([0-9]*)"',
'"modules.php\?name=Web_Links"'
);
$urlout = array(
'article\\1.html',
'news.html',
'content-\\1.html',
'content.html',
'downloadview-details-\\2.html',
'download-file-\\1.html',
'downloads.html',
'ftopict-\\1.html',
'forums.html',
'survey-results-\\1.html',
'surveys.html',
'encyclopedia-\\1.html',
'encyclopedia-list-\\1.html',
'encyclopedia.html',
'faq-\\1-.html',
'faq.html',
'link-\\1.html',
'links.html'
);
|
=== DONE ===
This should fix you up but it is not tested. Feel free to post any issues here and I will update these statements accordingly. |
|
Back to top |
|
|
mp3pimp
|
Posted: Thu Feb 28, 2008 2:23 am Post subject: Re: not well-formed | shortlinks |
|
|
Yes, this code working whel.
I have a problem with my "[]" in my sitemapgoogle now but i replace them with "()" and will show the links write.
Montego, you rule.
Thanks a lot guys for your help.
lateredit: i forgot to thank you guys for this sitemap. this is an important help for nuke. Tnx. |
|
Back to top |
|
|
montego
|
Posted: Thu Feb 28, 2008 7:06 am Post subject: Re: not well-formed | shortlinks |
|
|
That last "thanks" goes strictly for kguske, the author of nukeSEO, and I agree. Thank you kguske!
Ah, I see your point about the "[]" characters. You could change the instances of this:
([/:\-\'{}()\,\._&a-zA-Z0-9+= ]*)
to
([/:\-\'{}\[\]()\,\._&a-zA-Z0-9+= ]*)
and it might allow the characters.
Edited: NOTE: I added "\[\]" in the middle of the rule. |
|
Back to top |
|
|
mp3pimp
|
Posted: Thu Feb 28, 2008 8:53 am Post subject: Re: not well-formed | shortlinks |
|
|
Good note montego.
I make the change. I will see on next file when i will add new one.
Thanks.
P.S. Yes. That thanks ofcourse that are for kguske. He made such a good job. |
|
Back to top |
|
|
mp3pimp
|
Posted: Thu Mar 13, 2008 4:30 am Post subject: Re: not well-formed | shortlinks |
|
|
Hi, again.
I have a problem with my site map (this tell me google) and i post here to not open a new thread. I think is ok.
I try to find out about this problem but this is my last way to find.
This is one of my first errors, after i resubmit again and again. the number is changing all the time.
This is the last error. The number is changing again.
Only registered users can see links on this board! Get registered or login! - click for full preview
I load on browser the site map and site map for google format and il loading good.
What is about ?
Thanks a lot for help. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001-2008 phpBB Group
|
|
|