<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Overture - Campfire Services</title>
    <link>http://overture21.com</link>
    <description>Overture - The Complete Resource Center for Symphony</description>
    <language>en-us</language>
    <generator>Symphony 1.7</generator>
    <copyright>Copyright 2007, Twenty One Degrees Pty. Ltd.</copyright>
    <item>
      <title>Picasa Fetch 0.5</title>
      <link>http://overture21.com/campfire-service/detail/52/</link>
      <category>Symphony Enhancements</category>
      <guid>http://overture21.com/campfire-service/detail/52/</guid>
      <pubDate>Sun, 03 Aug 2008 19:34:24 +1000</pubDate>
      <description>&lt;p&gt;Creates data sources to fetch photos from a Picasa account. Adapted from Flickr Fetch campfire service created by Mark Lewis, http://www.casadelewis.com.&lt;/p&gt;

Latest version download link:

&lt;p&gt;The campfire service management utility will not let me submit the latest version of Picasa Fetch. You will download version 0.3 if you download the campfire service from the overture21 domain. Please use the download link below to get Picasa Fetch version 0.5: &lt;a href="http://www.fleshy.nl/dev/workspace/upload/picasa%20fetch%20v0.5.zip"&gt;http://www.fleshy.nl/dev/workspace/upload/picasa%20fetch%20v0.5.zip&lt;/a&gt;.&lt;/p&gt;

Version 0.5 Release Notes

&lt;p&gt;Fixed a bug with sorting, now it actually works with integers and with strings too.&lt;/p&gt;

&lt;p&gt;Bugs fixed:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Datasource now shows the full sort value, even when it is a string.&lt;/li&gt;
&lt;/ul&gt;

Version 0.4 Release Notes

&lt;p&gt;New fetch type added: automatically detect input using RSS feed url. This allows you to simply copy/paste the RSS feed url from a Picasa-webalbum and let the campfire service detect the user id, album id and when present also the authorization key. Autodetection only works with album RSS feed urls and not with photo or user feeds.&lt;/p&gt;

&lt;p&gt;Added functionality:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Autodetect album input using RSS feed url.&lt;/li&gt;
&lt;/ul&gt;

Version 0.3 Release Notes

&lt;p&gt;The sort value is added to make it easier to sort multiple albums when you want to include multiple Picasa feed data sources. You could do this for instance when creating an overview of all your albums.&lt;/p&gt;

&lt;p&gt;Added functionality:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Data source now fetches feed id (user id, album id or album name) from Picasa&lt;/li&gt;
&lt;li&gt;Link to data source information for data source list items&lt;/li&gt;
&lt;li&gt;Ability to specify sort value&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Bugs fixed:
+ Datasource now really fetches album description from Picasa
+ Minor text revisions&lt;/p&gt;

Version 0.2 Release Notes

&lt;p&gt;Added functionality:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Data source now fetches album title from Picasa&lt;/li&gt;
&lt;li&gt;Date source now fetches album description from Picasa&lt;/li&gt;
&lt;li&gt;Ability to specify prefered image size&lt;/li&gt;
&lt;li&gt;Ability to specify prefered thumbnail size&lt;/li&gt;
&lt;/ul&gt;

Version 0.1 Release Notes

&lt;p&gt;This version is the first and very basic beta version of Picasa Fetch. Expect more functionality in future versions, if demand requires it. This version is created to support symphony version 1.7. Unfortunately, it only supports PHP 5. If anyone wants to help me creating support for PHP 4, please drop me a message in the forum article I will create relating this campfire service.&lt;/p&gt;

Installation Instructions

&lt;p&gt;After downloading Picasa Fetch, extract the archive and upload the "carsten" directory to your campfire directory. Then, install Picasa Fetch through the Symphony campfire services administration interface. Make sure that you give the carsten/picasa/data-sources folder CHMOD 777 permissions as this is the folder where Picasa Fetch will create its data sources.&lt;/p&gt;

Filling in the Form Fields

&lt;p&gt;There are three ways to fill in the form. After giving your datasource a name, choose how you want to fetch your photos. You can choose from user-based feed, album-based feed using album id, and album-based feed using album name.&lt;/p&gt;

Mandatory for all feeds:

&lt;p&gt;&lt;strong&gt;User ID&lt;/strong&gt; - The username or e-mail address associated with a Google account.&lt;/p&gt;

For album-based feeds:

&lt;p&gt;&lt;strong&gt;Authorization key&lt;/strong&gt; - Only required for private albums. Get it from the url you see in your address bar when viewing a private Picasa-webalbum in your browser. http://picasaweb.google.com/userID/albumName?authkey=authorizationKey&lt;/p&gt;

Mandatory for album-based feeds using album id:

&lt;p&gt;&lt;strong&gt;Album id&lt;/strong&gt; - Get it from the url you see in your address bar after you have clicked on RSS while viewing your Picasa-webalbum. http://picasaweb.google.com/data/feed/base/user/userName/albumid/albumId?kind=photo&amp;alt=rss&lt;/p&gt;

Mandatory for album-based feeds using album name:

&lt;p&gt;&lt;strong&gt;Album name&lt;/strong&gt; - Get it from the url you see in your address bar when viewing an album in your browser. http://picasaweb.google.com/userID/albumName&lt;/p&gt;

Example XML

&lt;pre&gt;&lt;code&gt;&lt;picasa&gt;
    &lt;album&gt;
        &lt;title&gt;Album Title as retreived from Picasa&lt;/title&gt;
        &lt;description&gt;The description of your album as retreived from Picasa&lt;/description&gt;
        &lt;id&gt;The original feed ID as retreived from Picasa&lt;/id&gt;
        &lt;sortvalue&gt;The value you have specified for album sorting, namely "sort value here"&lt;/sortvalue&gt;
    &lt;/album&gt;
    &lt;photos&gt;
        &lt;photo&gt;
            &lt;title&gt;photo.jpg&lt;/title&gt;
            &lt;description&gt;The description of my photo&lt;/description&gt;
            &lt;published&gt;2006-12-30&lt;/published&gt;
            &lt;updated&gt;2007-12-30&lt;/updated&gt;
            &lt;content url="http://lh6.google.com/user_id/R4DOGGGpvQI/AAAAAAAAADU/0HW_vemLrg4/s800/photo.jpg" height="600" width="800" type="image/jpeg" medium="image" /&gt;
            &lt;thumbnail url="http://lh6.google.com/user_id/R4DOGGGpvQI/AAAAAAAAADU/0HW_vemLrg4/s72/photo.jpg" height="54" width="72" /&gt;
            &lt;thumbnail url="http://lh6.google.com/user_id/R4DOGGGpvQI/AAAAAAAAADU/0HW_vemLrg4/s144/photo.jpg" height="108" width="144" /&gt;
            &lt;thumbnail url="http://lh6.google.com/user_id/R4DOGGGpvQI/AAAAAAAAADU/0HW_vemLrg4/s288/photo.jpg" height="216" width="288" /&gt;
        &lt;/photo&gt;
    &lt;/photos&gt;
&lt;/picasa&gt;
&lt;/code&gt;&lt;/pre&gt;

Problems with Picasa Feed

&lt;p&gt;If you get the following XML as output, it means that you have specified some invalid information while creating the Picasa feed. Please try again and check if you have the right user ID, album ID, album name, and authorization key.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;&lt;picasa&gt;
    &lt;title&gt;HTTP request failed&lt;/title&gt;
    &lt;description&gt;HTTP/1.0 500 Internal Server Error. You must have entered some invalid data, please try again and create a new data source.&lt;/description&gt;
&lt;/picasa&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;If you get the following XML as output, it means that there is no problem but that there are no photo's available for display in your album or for your specified user ID. &lt;/p&gt;

&lt;pre&gt;&lt;code&gt;&lt;picasa&gt;
    &lt;photos /&gt;
&lt;/picasa&gt;
&lt;/code&gt;&lt;/pre&gt;
</description>
    </item>
    <item>
      <title>Flickr Fetch 1.4</title>
      <link>http://overture21.com/campfire-service/detail/43/</link>
      <category>Symphony Enhancements</category>
      <guid>http://overture21.com/campfire-service/detail/43/</guid>
      <pubDate>Tue, 01 Apr 2008 04:38:14 +1100</pubDate>
      <description>&lt;p&gt;Creates data sources to fetch photos from your Flickr account.&lt;/p&gt;

&lt;p&gt;Requires you have a &lt;a href="http://www.flickr.com"&gt;Flickr&lt;/a&gt; account and &lt;a href="http://www.flickr.com/services/api/keys"&gt;API Key&lt;/a&gt;, both of which are free.&lt;/p&gt;

Change log 1.4

&lt;ul&gt;
&lt;li&gt;Replaced &lt;code&gt;file_get_contents()&lt;/code&gt; with &lt;code&gt;CURL&lt;/code&gt; due to many hosts disabling &lt;code&gt;file_get_contents()&lt;/code&gt; for security purposes.&lt;/li&gt;
&lt;li&gt;A URL parameter (i.e. &lt;code&gt;$param&lt;/code&gt;) can now be used in the tags field.&lt;/li&gt;
&lt;/ul&gt;

Change log 1.3

&lt;ul&gt;
&lt;li&gt;Fixed redirect issue upon saving a new data-source&lt;/li&gt;
&lt;li&gt;Renamed User ID field to NSID Number (avoid confusion with Flickr name) &lt;/li&gt;
&lt;/ul&gt;

Change log 1.2

&lt;ul&gt;
&lt;li&gt;Updated JavaScript for 1.7&lt;/li&gt;
&lt;li&gt;Updated service driver for 1.7&lt;/li&gt;
&lt;li&gt;Added the ability to delete data-sources&lt;/li&gt;
&lt;/ul&gt;

Getting Your Flickr Details

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;You need to know your Flickr API key.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;You also need to know the corresponding ID for each photo set, user ID, or tags depending upon the method you use to retrieve your photos.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;First, you want to install Flickr Fetch through Symphony's admin interface.  Next, you'll want to obtain your Flickr details.  If you don't already have a free Flickr account, you must sign up before obtaining a Flickr API key.  Once you're signed in to your account, &lt;a href="http://flickr.com/services/api/keys/"&gt;get your API key&lt;/a&gt;.  Once you obtain this key, keep it handy as you will need to input it into the CS form to create your data source.&lt;/p&gt;

Filling in the Form

&lt;p&gt;If you have been working with Symphony you'll find the Flickr Photo Set data source creator to be familiar.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Mandatory fields:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Name&lt;/strong&gt; - corresponds to the name of your data source.&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Fetch&lt;/strong&gt; - drop-down menu allows you to choose if you would like to fetch your photo stream, a photo set, or your photos according to specific tags.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;API key&lt;/strong&gt; - corresponds to your Flickr API key which you can get by going to the address mentioned above.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Some fields mandatory&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Photoset ID&lt;/strong&gt; - corresponds to a photo set ID number. Only one ID.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;User ID&lt;/strong&gt; - corresponds to your Flickr user &lt;strong&gt;NSID&lt;/strong&gt;.  Only one NSID.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Tag(s)&lt;/strong&gt; - corresponds to Flickr tags you have assigned your photos. Multiple tags can be specified, separated with a comma OR use a URL parameter &lt;code&gt;$param&lt;/code&gt;. Any tag will be matched.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Optional fields:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Year&lt;/strong&gt; - filters the photos in the photo set by year.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Month&lt;/strong&gt; - filters the photos in the photo set by month.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Day&lt;/strong&gt; - filters the photos in the photo set by day.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Flexible URL&lt;/strong&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Checking flexible URL will give a URL without &lt;code&gt;.jpg&lt;/code&gt; so that you can specify image size fetched from Flickr.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;    static.flickr.com/112/304961747_0c48084840_s|t|m|-|b|o.jpg
&lt;/code&gt;&lt;/pre&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;s&lt;/strong&gt; small square 75x75&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;t&lt;/strong&gt; thumbnail, 100 on longest side&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;m&lt;/strong&gt; small, 240 on longest side&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;-&lt;/strong&gt; medium, 500 on longest side&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;b&lt;/strong&gt; large, 1024 on longest side (only exists for very large original images)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;o&lt;/strong&gt; original image, either a jpg, gif or png, depending on source format&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The most popular way to filter these photos using the optional fields will be via URL parameters.  For instance, you might want to set up a photo page with a URL schema like "year/month/day".  If you entered "$year", "$month", and "$day" for the corresponding optional filter fields, your photo set data source will be filtered based on the URL schema.  For example,&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;http://www.mywebsite.com/photos/2006/10/04/
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;The above example URL will return only the photos uploaded on October 4, 2006.&lt;/p&gt;

Example XML

&lt;pre&gt;&lt;code&gt;&lt;flickr&gt;
    &lt;photos&gt;
        &lt;photo&gt;
            &lt;title&gt;My photo&lt;/title&gt;
            &lt;date&gt;2006-12-30&lt;/date&gt;
            &lt;url&gt;static.flickr.com/69/12345_76543211.jpg&lt;/url&gt;
        &lt;/photo&gt;
    &lt;/photos&gt;
&lt;/flickr&gt;
&lt;/code&gt;&lt;/pre&gt;

Additional Info

&lt;p&gt;Resize Flickr images using the built-in image function in Symphony.  Check &lt;em&gt;flexible URL&lt;/em&gt; to take advantage of the built-in image manipulation Symphony offers. Example:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;&lt;img src="/image/352/0/0/333/external/static.flickr.com/66/225463754_fbee2f48b2_o.jpg" /&gt;
&lt;/code&gt;&lt;/pre&gt;
</description>
    </item>
    <item>
      <title>Textile Text Formatter 1.8</title>
      <link>http://overture21.com/campfire-service/detail/2/</link>
      <category>Text Formatters</category>
      <guid>http://overture21.com/campfire-service/detail/2/</guid>
      <pubDate>Wed, 19 Mar 2008 18:22:21 +1100</pubDate>
      <description>&lt;p&gt;Enables Textile syntax for entry and comment formatting.&lt;/p&gt;

Version 1.8

&lt;ul&gt;
&lt;li&gt;Updated Textile class to latest revision&lt;/li&gt;
&lt;/ul&gt;

Version 1.7

&lt;ul&gt;
&lt;li&gt;Updated for Symphony 1.7&lt;/li&gt;
&lt;/ul&gt;

Version 1.6

&lt;ul&gt;
&lt;li&gt;Uses Textile 2 Engine - &lt;a href="http://textile.thresholdstate.com/"&gt;http://textile.thresholdstate.com/&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</description>
    </item>
    <item>
      <title>Random Number Generator 1.0</title>
      <link>http://overture21.com/campfire-service/detail/54/</link>
      <category>Symphony Enhancements</category>
      <guid>http://overture21.com/campfire-service/detail/54/</guid>
      <pubDate>Wed, 05 Mar 2008 04:13:35 +1100</pubDate>
      <description>&lt;p&gt;&lt;strong&gt;Compatibility: Symphony 1.7&lt;/strong&gt; To install, copy the folder &lt;strong&gt;davethegr8&lt;/strong&gt; to the campfire folder. The RNG will show up in your Data Sources under Controllers.&lt;/p&gt;

&lt;p&gt;A random number generator. Returns 10 decimal values in the 
range 0..1. To get an integer value between 1 and 10, do the following.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;&lt;xsl:value-of select="floor(random/number[1] * 10) + 1" /&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Why? &lt;code&gt;floor(n * 10)&lt;/code&gt; produces, with only one exception*, values from 0-9. To get 1-10, you add on one. So to generalize the code above, take the decimal number, multiply by the range + 1, and then add the minimum number.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;&lt;xsl:value-of select="floor(random/number[1] * (range + 1)) + min" /&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;ul&gt;
&lt;li&gt;When the random number is equal to the absolute max of all possible random numbers, the value will be 1.0. However, given the range of the numbers generated from mt_rand(), it is possible to assume that this will never happen. And even if it does happen, it will also be 
very unlikely that it will happen again.&lt;/li&gt;
&lt;/ul&gt;

Example XML

&lt;pre&gt;&lt;code&gt;&lt;random&gt;
    &lt;number&gt;0.86000569717028&lt;/number&gt;
    &lt;number&gt;0.20898523191408&lt;/number&gt;
    &lt;number&gt;0.76803636446969&lt;/number&gt;
    &lt;number&gt;0.91541600828777&lt;/number&gt;
    &lt;number&gt;0.75782764505494&lt;/number&gt;
    &lt;number&gt;0.5689746567835&lt;/number&gt;
    &lt;number&gt;0.92996141031848&lt;/number&gt;
    &lt;number&gt;0.46307060889111&lt;/number&gt;
    &lt;number&gt;0.69052558750404&lt;/number&gt;
    &lt;number&gt;0.16715480301862&lt;/number&gt;
&lt;/random&gt;
&lt;/code&gt;&lt;/pre&gt;
</description>
    </item>
    <item>
      <title>GeSHi highlighter 1.0</title>
      <link>http://overture21.com/campfire-service/detail/53/</link>
      <category>Symphony Enhancements</category>
      <guid>http://overture21.com/campfire-service/detail/53/</guid>
      <pubDate>Tue, 26 Feb 2008 05:46:57 +1100</pubDate>
      <description>&lt;p&gt;This CS gives you the ability to automatically highlight any code inside any of your symphony pages.
It uses &lt;a href="http://qbnz.com/highlighter/"&gt;GeSHi&lt;/a&gt; as parser, and includes a huge amount of pre-defined languages code highlightments.&lt;/p&gt;

&lt;p&gt;The usage is really simple. Compose your entries writing code the same way you always have done before, but assign to the &lt;code&gt;&lt;code&gt;&lt;/code&gt; tag a classname with the referring language.&lt;/p&gt;

&lt;p&gt;I firstly wrote this CS for my personal needs, so you won't find any useful options like the ability to shows up line codes, maybe in a future version. Anyway, it's a really simple CS, feel free to change it if you need.&lt;/p&gt;

Notes

&lt;ul&gt;
&lt;li&gt;Rendered code must have the &lt;code&gt;&lt;pre&gt;&lt;code&gt;&lt;/code&gt; syntax, that means no &lt;code&gt;&lt;pre&gt;&lt;/code&gt; or &lt;code&gt;&lt;code&gt;&lt;/code&gt; alone.&lt;/li&gt;
&lt;li&gt;It works with native DOMDocument of PHP5, however there's also a PHP4 compatibility, make sure to have installed &lt;code&gt;DOMXML&lt;/code&gt; PHP module (I've not tested a lot on PHP4, thought).&lt;/li&gt;
&lt;/ul&gt;
</description>
    </item>
  </channel>
</rss>
