Topic: metadata [SOLVED]

Hello,
I'd like to know if images metadata are seen by the robots. My caption text appears on the screen but it can't be selected or copied.
I think a simpleviewer gallery has no real content to be referred. Am I wrong?
I've just almost finished to configure my photo site with many simpleviewer galleries because this wordpress plugin (pro) is very good, but I would be really sad if my content has absolutely no value for google robots!!
Can I have your impress?
Thanks

DAP
http://www.david-aubert.com

Re: metadata [SOLVED]

If you are looking to produce SEO Content code for a SimpleViewer gallery (so that search engines can index the content within a SimpleViewer gallery, such as image filenames and captions), then please see this article entitled Making SimpleViewer SEO Friendly.

If you want to integrate this solution within WP-SimpleViewer (the SimpleViewer plugin for WordPress), then please see this forum post for details.

Steven Speirs
SimpleViewer Support Team.

Re: metadata [SOLVED]

Thanks Steven
I'm going to see this right now!!

Re: metadata [SOLVED]

It doesn't work.
I modified "simpleviewer-seo.php" and dropped it into 'wp-content/plugins/wp-simpleviewer/'
I modified "wp-content/plugins/wp-simpleviewer/wp-simpleviewer.php" but i think my file is not really the same as yours because you talk about lines 820-832 and in mine lines are at 950-961.

So when changes are done i have this on the page:

"SimpleViewer requires JavaScript and the Flash Player. Get Flash.
©2010- Powered by Simpleviewer SEO Gallery Plugin"

got an idea?
Thanks again

Re: metadata [SOLVED]

At the time of posting, WP-SimpleViewer was on a previous version which is why the line numbers no longer match up.
Also, some internal variable names were changed so the modifications now required are as follows:

File: 'simpleviewer-seo.php'

(1) Replace line 13:

 $doc->load( 'gallery.xml' );

... with:

 $doc->load($gallery_url);

(1) Replace line 42:

print "<li style=\"list-style-type: none;\"><p><a href=\"$imgpath$largephoto\" target=\"_blank\"><img src=\"$imgpath$photo\" alt=\"$altcaption\" title=\"$altcaption\"/></a><br />$caption</p></li>";

... with:

print "<li style=\"list-style-type: none;\"><p><a href=\"$largephoto\" target=\"_blank\"><img src=\"$photo\" alt=\"$altcaption\" title=\"$altcaption\"/></a><br />$caption</p></li>";

File: 'wp-simpleviewer.php'

Replace lines 950-961:

                return <<<EOF
<!--START SIMPLEVIEWER EMBED-->
<script type="text/javascript">
    var flashvars$gallery_id = {};
    flashvars$gallery_id.galleryURL = "$gallery_url";
    simpleviewer.ready(function () {
        simpleviewer.load("sv-container$gallery_id", "$gallery_width", "$gallery_height", "$background_color", $use_flash, flashvars$gallery_id);
    });
</script>
<div id="sv-container$gallery_id"></div>
<!--END SIMPLEVIEWER EMBED-->

... with:

                ob_start();
                include 'simpleviewer-seo.php';
                $include = ob_get_clean();

                return <<<EOF
<!--START SIMPLEVIEWER EMBED-->
<script type="text/javascript">
    var flashvars$gallery_id = {};
    flashvars$gallery_id.galleryURL = "$gallery_url";
    simpleviewer.ready(function () {
        simpleviewer.load("sv-container$gallery_id", "$gallery_width", "$gallery_height", "$background_color", $use_flash, flashvars$gallery_id);
    });
</script>
<div id="sv-container$gallery_id">$include</div>
<!--END SIMPLEVIEWER EMBED-->
EOF;

Apologies for not noticing this sooner and for any inconvenience caused.
I have tested this myself and it now works as expected.

Steven Speirs
SimpleViewer Support Team.

Re: metadata [SOLVED]

Tanks Steven
It seems to work!