![]() |
|
Zenphoto Sitemap plugin - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Zenphoto Sitemap plugin (/thread-4136.html) Pages:
1
2
|
Zenphoto Sitemap plugin - Tenzer - 2008-11-26 Hi I have been coding a bit on a Zenphoto plugin the last couple of days, it is a sitemap generator which can be used with the larger search engines (Google, Live Search, etc.) and it's compatible with the sitemaps.org specifications. It's really simple to install, just copy the file into the zp-core/plugins directory, activate the plugin through the administration interface and then point the search engines at [your Zenphoto folder]/?sitemap, and it will take care of the rest. Link for download and (a little) more info is on my homepage. Note: I am aware that there is an existing Google sitemap generator already, which is mentioned on the hacks page. But I haven't been able to access the site linked to recently, and now that I have seen the code it honestly isn't that pretty made. By the way... Shouldn't there be a plugins section here on the forums, in order to keep them a bit separated from the Zenphoto core? Zenphoto Sitemap plugin - sbillard - 2008-11-27 Plugin has been added to the topic list. Zenphoto Sitemap plugin - CMNYC - 2008-11-28 Just replaced the sitemap hack with this... works like a charm, and loads much quicker! How can we get this into the mainstream distro? Zenphoto Sitemap plugin - sbillard - 2008-11-28 How this would happen depends on the wishes of the author. We can place a link or a download on the plugins page http://www.zenphoto.org/2008/06/zenphoto-plugins/. Zenphoto Sitemap plugin - Tenzer - 2008-11-29 Feel free to include it in the Zenphoto download package, or on the plugins page if you wish to. I would be thrilled if people would use it. Zenphoto Sitemap plugin - sbillard - 2008-11-29 Sitemap has been added to the plugins list. Zenphoto Sitemap plugin - CMNYC - 2008-11-29 Any chance to include it in the download package moving forward? Zenphoto Sitemap plugin - sbillard - 2008-11-30 Certainly, but since the developers will probably not be supporting it it might be more convenient for you to keep the download on your server. If that link will be constant we can provide it. Zenphoto Sitemap plugin - calipidder - 2008-12-13 Thanks very much for this plugin! I installed it yesterday and submitted in google webmaster tools, it was crawled right away, and it's already leading to additional traffic - I'm getting top 3 in google for many search terms now for the albums, where my blog was hanging around page 2 for the same terms. One warning that I have in google is the following, FYI: Zenphoto Sitemap plugin - Tenzer - 2008-12-14 I'm glad that you find the plugin useful and that it's helping you out Regarding that error, I have had another report from another user experiencing the same warning message. I don't think it has any effect, but the warning could probably be avoided by removing/commenting out line 64 of the plugin ( Zenphoto Sitemap plugin - jollywood - 2009-01-24 Tenzer: Thanks for taking time to write the plugin. I tried to see how the sitemap looks like in your site. I tried accessing http://gallery.tenzer.dk/?sitemap. It didn't produce XML sitemap. It created something like: http://gallery.tenzer.dk/?sitemap=root http://gallery.tenzer.dk/?sitemap=7 http://gallery.tenzer.dk/?sitemap=3 http://gallery.tenzer.dk/?sitemap=4 http://gallery.tenzer.dk/?sitemap=6 http://gallery.tenzer.dk/?sitemap=5 http://gallery.tenzer.dk/?sitemap=8 http://gallery.tenzer.dk/?sitemap=9 Reg. priority: Only the top URL should be 1.0; album URLs can be 0.5; and all pictures should be 0.5 or 0.4; In your program, there is a common code to set priority for all URLs. If it's set based on type of the page (front page, album, picture, etc), that would be nice. Also, there is no frequency mentioned. SEs will love to see the frequency so that they know when to come back. I haven't installed your plugin yet. I want to change the priority parm before installing it. Zenphoto Sitemap plugin - Tenzer - 2009-01-24 Hi all I have updated the plugin with two minor fixes. You can read the detailed information at my homepage: http://tenzer.dk/zenphoto-sitemap-101 jollywood, a sitemap was generated when you tried it out on my gallery, but your browser was simply interpreting the page as normal HTML, which means that it only showed the links. If you chose "View source" you would see the correct XML file. The plugin doesn't specify any priorities any longer, since it didn't work out correctly before. In order for priorities to work correctly, all the URLs has to be in the same XML file, since the priorities are only compared with other URLs in the same XML file. It's hard for me to specify the change frequency, as that purely depends on the activity in the gallery. Some logic to calculate how often new pictures are added, and how often new comments are posted would probably have to made then, which makes the plugin much larger than what I aimed it to be. I just wanted to have it as a file that is put into the Zenphoto plugin folder, and just works from there. Zenphoto Sitemap plugin - Tenzer - 2009-02-26 The plugin has been updated again, in order to solve an issue when having folder or image paths with non-alphanumeric or international characters. You can find more information about it here: Zenphoto Sitemap plugin - Tenzer - 2010-02-20 After a long wait, I've gotten around to updating this plugin again, this time with a large rewrite, hence the new version number 2.0.0: http://tenzer.dk/zenphoto-sitemap-2-0-0 This version does not really bring any new features, but instead gives performance improvements, and lowers the amount of database and HTTP queries needed from the search engines. I do have a few ideas for new features, which can be found on the issue tracker for the plugins GitHub page: http://github.com/Tenzer/zenphoto-sitemap/issues Let me know if you experience any issues with it, or if you have any feature requests! Zenphoto Sitemap plugin - makar - 2010-02-22 Thank you for the plugin! I'd like to ask if it wouldn't be much trouble to provide an option to choose whether sitemap is to be created in gzipped form (sitemap.xml.gz) or not (sitemap.xml). Thank you Zenphoto Sitemap plugin - Tenzer - 2010-02-22 You're welcome I generally tried to make the plugin as easy to use as possible, by not requiring write permissions anywhere on the file system or any mod_rewrite rules and such, but I guess some checking could be made to see if a certain path is writable, and in that case generate a static sitemap. The difficult part would then be when to update the sitemap, but I'll have to look further into that. Zenphoto Sitemap plugin - acrylian - 2010-02-22 @Tenzer: YOu might want to look at the static_html_cache plugin about updating static files (there are similar functions for the rss feeds, too). Zenphoto Sitemap plugin - Tenzer - 2010-02-22 Right, thank you for the hint acrylian. Otherwise I was thinking about storing a serialized array with all the current URLs in the database, and then update that once in a while. That would limit the amount of database queries significantly. But static files are most certainly more efficient Zenphoto Sitemap plugin - acrylian - 2010-03-08 @Tenzer: In case you are interessted I have a little extended your sitemap plugin to cover Zenpage items as well. I also added caching within the standard html_cache folder. It runs on my demo site: http://zenphoto.maltem.de/?sitemap and download for now is here: http://zenphoto.maltem.de/uploaded/zenphoto-sitemap-extended.zip. Zenphoto Sitemap plugin - Tenzer - 2010-03-08 @acrylian: I've only had a short look at the code, and it looks interesting. I have to get a bit closer look at it, and test it out. I'll include it in the next release if everything works out fine, thank you |