Archive

Posts Tagged ‘rss’

Authenticated RSS and Links

September 1st, 2008 1 comment

phTagr supports now authenticated RSS and direct link for guest’s images through a special key parameter.

The new feature is helpful for your RSS feed reader to fetch all recent images or comments. In the past only the public images where gathered for the RSS feed. Now you can use the special authenticated RSS link from Preferences -> RSS to get all the updates for your account including non public images and comments.

Such authenticated RSS links are also available for guest accounts via Preferences -> Guest Accounts -> Guest -> Links. The media RSS could be used to embed special images of a guest account, eg. through the WordPress Plugin gSlideShow.

Further a single direct link of a Guest’s images could be sent to friends via Preferences -> Guest Accounts -> Guest -> Links. Our friends dont have to remember the login username or password anymore: The page My Images of the guest is directly shown.

The key parameter authenticates the user for the current (and temporary) session only. For permanent authentication the user has to be log in via username and password. Since the authenticated RSS or direct link should be used carefully, the key could be renewed easily in the corresponding menu.

Categories: Related Links, user Tags: , ,

Support of Comments

August 12th, 2008 Comments off

phTagr supports now user comments and visitors and users could comment on images or videos. The home side shows the recent comments and a comment RSS is also availiable via URL comments/rss, e.g. from the demo page: http://demo.phtagr.org/comments/rss. See the screenshots or try it out.

Recent Comment

Recent comments on home side

New Comment

Add a new comment (for visitors with captcha)

New Comment (for users)

Add a new comment (for users)

Visitors (anonymous users) have to enter a captcha which should prevent spam entries. The captcha is realized due the great Kcaptcha project.
The image owner will receive a notification email on new comments:
Dear admin

A new comment of image PICT7375.JPG was submitted.

View image: http://demo.phtagr.org/images/view/113
Delete comment: http://demo.phtagr.org/comments/delete/3

From: Jon Doe
Date: 2008-08-10 12:46:09

If you are anonymous you have to enter your name, email and a captcha to your comment.

You are notified about new comments via email if you select "Notify me on new comments".

Sincerely

Your phTagr Agent

Also other comment writers are able to receive new comment notification mails on their commented images, if they select the notification options.

Embedded Slideshow for Your Side

July 26th, 2008 Comments off

Since phTagr supports Media RSS it is quite simple to embed a simple slideshow to your page via Googles Feed API. It supports a slide show control which loads the Media RSS and displays the images one by one. The API reference of Google’s slide show control is straight forward and with few changes your web side displays the newest public images of your gallery. Following example shows the embedded slideshow of images from the phTagr demo page:

<h2>Photos</h2>
<p>
  <script src='http://www.google.com/jsapi' type='text/javascript'></script>
  <script src='http://www.google.com/uds/solutions/slideshow/gfslideshow.js' type='text/javascript'></script>
  <style type='text/css'>
    .gss a img {
      border : none;
    }
    .gss {
      width: 180px;
      height: 180px;
      color: #dddddd;
      background-color: #fff;
      padding: 5px;
      border: 1px solid #eee;
    }
  </style>
  <script type='text/javascript'>
    function load() {
      var samples = 'http://demo.phtagr.org/explorer/media/media.rss';
      var options = {
        displayTime: 2500,
        transistionTime: 600,
        scaleImages: true,
        fullControlPanel: true,
        linkTarget: google.feeds.LINK_TARGET_BLANK
      };
      new GFslideShow(samples, 'slideshow', options);
    }
    google.load('feeds', '1');
    google.setOnLoadCallback(load);
  </script>

  <div id='slideshow' class='gss'>Loading...</div>
</p>

I wrote a small WordPress gSlideShow widget plugin (based FlickrRSS) on  which embeds your Media RSS to your blog (download). Enjoy!

Slideshow via PicLens

July 19th, 2008 Comments off

phTagr supports now Media RSS for the explorer. The extention of RSS is defined by Yahoo and with it, phTagr supports PicLens – a great slide show program for web image collections. PicLens has nice extensions for IE and Firefox which create cool 3D slide shows, too. Unfortunatly PicLens does not support Linux currently but it has a quite usefull PicLensLite flash component. PicLensLite supports a basic flash slide show with configurable show duration. As full backup – if no PicLens extension and no flash is installed – LyteBox is used, a famous javascript thumbnail viewer. And if you have not extension, no flash, no javascript? Well, click through the page manually!

The newest version of phTagr comes with a Media RSS support and buildin PicLensLight. If you have PicLens extension installed, you are able to watch you current image search within the explorer in fancy 3D. Otherwise you can use PicLensLite or LyteBox.

The real cool thing about this new feature in phTagr is that you can create your favourite search (e.g. images with category ‘vacation’ and location ‘italy’ and exclude images with tag ‘night’) and you can watch your selection through the nice slideshow of PicLens. Thanks to Media RSS and PicLens.com. Test the new feature at the demo page! Now!

Google Maps and RSS

May 24th, 2008 Comments off

phTagr supports now Google Maps and RSS feeds! Click here for a demo of the Google Map integration. To enable Google Maps you have to set the Google Maps key in Preference/System from the admin account.

The geo meta data is extracted from new images using Exif tags GPS Latitude and Longitude. I have written a small PHP tool gpssync (available here) which extracts the GPS position of an NMEA file (e.g. from the GPS tracker Sony GPS CS1). It estimates the position by linear interpolation and saves the GPS position using exiftool. Call “./gpssync.sh -g WG20080504135002.log *.jpg” to synchronize the geo positions to your images.

The phTagr image explorer provides now a RSS feed for new (public) images where users can subscribe to it to be informed about new images automatically. You can add the RSS feed (found here) to your favorite RSS reader (e.g. Thunderbird) and wait for new published images. You never need to visit the gallery again to check for new content!

Categories: Uncategorized Tags: , ,