Page 1 of 1
serendipity event google NEWS sitemap
Posted: Tue May 11, 2010 9:02 pm
by cybernetica
I made a quicky plugin to manage the new format of google news maps.
I used serendipity_event_google_sitemap.zip and modify code very quickly.
I hope it'll be useful for someboy else!
I haven't clean code and haven't reviewed credits and info files yet ,( sorry, i've no time!
Here it is:
serendipity event google NEWS sitemap
bye all
carlo [italy]
Re: serendipity event google NEWS sitemap
Posted: Wed May 12, 2010 9:55 am
by garvinhicking
Hi!
Thanks a lot for contributing! Do I understand properly, that the important change in your new plugin is to use "n:" instead of "news:", and that you limited the amount of entries to 500, instead of showing all entries?
If it's really mostly the namespace change, we could simply modify the original plugin to avoid having duplicate plugins. Do you have a URL on where this URI namespace change is documented, and why that was done - so we can decide whether to completely change the plugin to the new format, or only make it an option?
Regards,
Garvin
Re: serendipity event google NEWS sitemap
Posted: Wed May 12, 2010 3:05 pm
by cybernetica
here u are:
http://www.google.it/support/news_pub/b ... swer=74288
max num of entry is 500 in my plugin. Google giva a maximum of 1000 entry... for me is best a minor number of entry in the time, who submit 1000 news in a week?
However the other very important thing is to create a new map, different from the usual sitemap.
The new resulting sitemap must be submitted here:
http://www.google.com/support/news_pub/ ... st_content
regards
carlo
Re: serendipity event google NEWS sitemap
Posted: Wed May 12, 2010 3:30 pm
by garvinhicking
Hi!
ah, I just checked. The plugin does indeed use xmlns:news and so a "news:..." XML schema is valid; a change to "n:" is not really required.
However the other very important thing is to create a new map, different from the usual sitemap.
I can't easily spot the difference in the code, can you tell me what sturcture is different?
About the limit of 1000 news: Many people use the sitemap not only as a news item list, but as a full newslist. So hard-coded limiting the entries inside the plugin would make things worse for such people, and I believe the limit of google news is only potential, and not enforced...
Regards,
GArvin
Re: serendipity event google NEWS sitemap
Posted: Wed May 12, 2010 4:32 pm
by cybernetica
at
http://www.google.it/support/news_pub/b ... swer=74288 google wrote:
# A News Sitemap can contain no more than 1,000 URLs. If you want to include more, you can break these URLs into multiple Sitemaps, and use a Sitemap index file to manage them. Use the XML format provided in the Sitemap protocol. Your Sitemap index file shouldn't list more than 50,000 Sitemaps. These limits help ensure that your web server isn't overloaded by serving large files to Google News.
Once you've created your Sitemap, upload it to the highest-level directory that contains your news articles. Please see this page for further instructions on submitting your Sitemap.
carlo
Re: serendipity event google NEWS sitemap
Posted: Wed May 12, 2010 11:44 pm
by cybernetica
sorry for english, i mean we need at least two sitemap, one for news and the other for all the submission.
i use both plugin, one for the entire site and the other only for the last news.
at the end i have two zipped xml in my root sites!
regards
carlo
Re: serendipity event google NEWS sitemap
Posted: Fri May 14, 2010 9:58 am
by garvinhicking
Hi!
Thanks for the limit about 1000 entries. I guess we need to figure out a way to create split sitemaps then in this case...
cybernetica wrote:sorry for english, i mean we need at least two sitemap, one for news and the other for all the submission.
Google Sitemaps and News Sitemaps can be combined into one, this should work!
Regards,
Garvin