i suggest google sitemap plugin

hi

i like to suggest i suggest google sitemap plugin for zenphoto

thanks

Comments

  • this isn't a ticket ;) zenphoto.org/trac and new ticket ;)
  • I'm thinking about/looking into doing this. I will post a ticket on trac after I have something semi-functional. Don't expect it to happen very quickly though. I pinched a nerve and my hands go numb if I do too much typing right now. :(
  • bill61 Member
    hi Mammlouk

    this is good news

    good luck with it
  • yes we need this badly
  • Just wanted to let you know I'm still planning on this. I have made a post on my blog about some of the major features I think it needs to have, but I'm new to sitemaps and would appreciate some help.

    Visit my post here:
    http://www.jeremydcoleman.com/2008/06/28/next-up-google-sitemaps-for-zenphoto/

    Then post either here or there and let me know if I'm missing any key requirements.
  • Just as in the case of an easy way to backup the ZP database, I begin to think that the combination WordPress / ZenPhoto should be more tight ;). Because apart from the backup plugin inside WP that could also take care of the ZP tables, there also is this Google Sitemap Plugin for WP that lets you define folders to include outside the WP system. So here's another easy way to include all the ZP folders. Of course only when you like WP :).
  • mybe you have too much photo or pic.I think google would reject embody if your photo with less discrition or tag or other alt attribute,although you had improvided sitemap.

    just like my site too many photo you could not have time to solve everyone.
  • hallo Member
    is there a possibility to create something like that?

    http://www.pic-upload.de/view-766101/card.JPG.html
  • acrylian Administrator, Developer
    What do you mean, the upload or the map? For the map we have already a google maps plugin.
  • hallo Member
    for the map... hm i activated the plugin but nothing happened...

    http://www.testdesignzen.ch.vu
  • acrylian Administrator, Developer
    Activating is not always enough. Plugins are optional so you often need to add the theme functions a plugin provides to your theme page. We don't implement all plugins functions to not bloat the code.

    Info about that plugin is here:
    http://www.zenphoto.org/documentation/zenphoto/_plugins---google_maps.php.html
    You basically just need to add `printAlbumMap()` and `printImageMap()` on album.php and image.php.
    Additionally you need a google maps API key that you then have to enter on the plugin options page.
  • hallo Member
    ? where should i copy it exactly?
  • acrylian Administrator, Developer
    Where you want the map to appear.
  • hallo Member
    i want to replace the field "description" on the index with the map...
  • Hi, just in case if this code might help you:

    http://basri.my/plugins/zenphoto-google-sitemap
  • bill61 Member
    hi mightyhitter

    the bellow should be field as well???? is it safe to have the mysql info in it???

    $zendbhost=$conf['mysql_host'];
    $zendbname=$conf['mysql_database'];
    $zendbuser=$conf['mysql_user'];
    $zendbpass=$conf['mysql_pass'];
  • hi bill61,
    the database info is taken from zenphoto config. btw this info is used within your control, i mean the code is used by the owner himself and not shared with others.
  • hi Mammlouk

    is there any new about your google sitemap?

    regards
  • acrylian Administrator, Developer
    We have only mightyhitter's version: http://www.zenphoto.org/2008/01/hacks/#google-sitemap
  • Has anyone had a problem where some of the URLs in the sitemap have HTML characters? For example:

    <loc>
    http://www.vinnyandjess.com/pictures/2007/200702-17-mardigras/image005.jpg.php
    </loc>

    %2F is in place of the /

    Any ideas?
  • I checked out sitemap generator written by mightyhitter. It's located at http://basri.my/plugins/zenphoto-google-sitemap; I downloaded the program and installed it. It worked ok, you can change the priority and frequency for each type of page. One problem though: It's conflicting with the recommended usage of robots.txt by Zenphoto. The install package of zenphoto has examples-robots.txt with the possible parms to put in .htaccess. In that, /zpcore is disallowed. mightyhitter puts the sitemap.php under /zpcore. So, SEs can't even access that directory, if one follow the recommendation from zenphoto for robots.txt file.

    If you have used this hack from mightyhitter, please share your experience.
  • Sorry, just noticed this message after months. It won't conflicting because we are not making /zp-core/sitemap.php to public (robots). There is a rewrite in readme.txt file that you can refer how to add a single line in .htaccess. Now the url to the sitemap is your-zenphoto-root/sitemap.xml
Sign In or Register to comment.