These forums are provided for community interactions only. For official support please submit a support ticket.

You are not logged in.

#1 2012-02-08 11:19:56

japfel
New Member
Registered: 2011-04-27
Posts: 6

google index for slideshowpro director

Hello!

i saw in the interface for every picture a titel description and keywords!

did google search engine crawls and indexes that

and did that work for html5 or swf files?

or did that only work with
http://searchenginewatch.com/article/20 … -Meta-Tags

Regards
Peter

Offline

 

#2 2012-02-19 19:34:08

brandonguy
Veteran Member
Registered: 2008-02-07
Posts: 210

Re: google index for slideshowpro director

If you know some php maybe you can use this stuff I pasted from a project and use for your needs.  Google uses image title tag in the body of the page, as well as meta tags in the header.

Code:

<div id="gallery">
<?php foreach ($contents as $image): ?>
            <a rel = "group" class = "lightbox" href ="<?php echo $image->large->url ?>">
    <img src="<?php echo $image->thumb->url ?>" alt="<?php echo $image->caption; ?>" title="<?php echo $image->title; ?>"></a>
<?php endforeach; ?>
</div>

and then in the header something like this:

Code:

foreach($stuff as $name=>$value){

if($name!='image'){
echo '<meta property="og:';
echo $name;
echo '" content="';
echo $value;
echo '" />'."\n";
}
}//unless is image meta, dump every set facemeta inside the markup

if(isset($_GET['img'])){//if img is set, share that one
$thisimage=$_GET['img'];
echo '<meta property="og:image" content="'.
$sf_post[$id]['og']['image'][$thisimage].'" />';

}
else{//not set so load all images into meta
if ($sf_post[$id]['og']['image'][0]){

$count=0;
foreach($sf_post[$id]['og']['image'] as $image){
echo '<meta property="og:image" content="'.
$sf_post[$id]['og']['image'][$count].'"/>'."\n";
$count++;
}//end foreach
}//end if have image
else{




//fetch_the_default_image($id);

}
}//end not get image was empty
echo '<!--end open graph -->'."\n\n";



}//end function

Offline

 

#3 2012-02-19 19:42:16

japfel
New Member
Registered: 2011-04-27
Posts: 6

Re: google index for slideshowpro director

hi, thank you very much! work that with the .swf file look here
http://www.juliastrohmeier.com/pics/index.html
should i make a php of the index.html?
thank you
regards
Pete

Offline

 

#4 2012-02-19 22:32:10

brandonguy
Veteran Member
Registered: 2008-02-07
Posts: 210

Re: google index for slideshowpro director

start with this:

http://wiki.slideshowpro.net/SSPdir/API … ng-Started


once you figure out basic API calls revisit my code and try to get it in the php page (delete your index.html and replace with index.php)

here is an article on meta tags, can use Director API to fill them:

https://developers.facebook.com/docs/opengraphprotocol/

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson