<?xml version="1.0" encoding="UTF-8"?>
<blogs type="array">
  <blog>
    <content>&lt;p&gt;The second version of the Personalise Site plugin has just been released and now includes methods to implicitly gain a users geo data.&lt;br/&gt;
&lt;br/&gt;
These additions are intended to be used to further customise and improve a users browsing experience. &lt;br/&gt;
&lt;br/&gt;
For example you may want to display content on a homepage that is relevant to a users location or you may want to automatically select the right country in a registration form to improve the signup experience.&lt;br/&gt;
&lt;br/&gt;
Note. This plugin will currently return UK if in development mode.&lt;br/&gt;
&lt;br/&gt;
This can be achieved in your views by making use of these methods:&lt;br/&gt;
&lt;br/&gt;
Returns which country the user is in&lt;br/&gt;
&lt;/p&gt;&lt;pre&gt;&lt;span class=&quot;punct&quot;&gt;&amp;lt;%=&lt;/span&gt;&lt;span class=&quot;string&quot;&gt; which_country %&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;p&gt;&lt;br/&gt;
&lt;br/&gt;
Returns which city the user is in&lt;br/&gt;
&lt;/p&gt;&lt;pre&gt;&lt;span class=&quot;punct&quot;&gt;&amp;lt;%=&lt;/span&gt;&lt;span class=&quot;string&quot;&gt; which_city %&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;p&gt;&lt;br/&gt;
&lt;br/&gt;
The users geographical coordinates&lt;br/&gt;
longitude: &lt;/p&gt;&lt;pre&gt;&lt;span class=&quot;punct&quot;&gt;&amp;lt;%=&lt;/span&gt;&lt;span class=&quot;string&quot;&gt; longitude_coordinate %&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;p&gt;&lt;br/&gt;
latitude: &lt;/p&gt;&lt;pre&gt;&lt;span class=&quot;punct&quot;&gt;&amp;lt;%=&lt;/span&gt;&lt;span class=&quot;string&quot;&gt; latitude_coordinate %&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;p&gt;&lt;br/&gt;
&lt;br/&gt;
As usual, if anyone has any suggestions on how to further improve this plugin, please send your comments over.&lt;br/&gt;
&lt;br/&gt;
Homepage: http://www.railslodge.com/plugins/303-personalise-site&lt;br/&gt;
SVN: http://svn.railslodge.com/svn/plugins/personalise_site/&lt;/p&gt;</content>
    <created-on type="datetime">2007-12-01T23:41:26-08:00</created-on>
    <data encoding="base64" type="binary" nil="true"></data>
    <id type="integer">14</id>
    <published-on type="datetime">2007-12-02T10:00:00-08:00</published-on>
    <raw-content>The second version of the Personalise Site plugin has just been released and now includes methods to implicitly gain a users geo data.

These additions are intended to be used to further customise and improve a users browsing experience. 

For example you may want to display content on a homepage that is relevant to a users location or you may want to automatically select the right country in a registration form to improve the signup experience.

Note. This plugin will currently return UK if in development mode.

This can be achieved in your views by making use of these methods:

Returns which country the user is in
[code]&lt;%= which_country %&gt;[/code]

Returns which city the user is in
[code]&lt;%= which_city %&gt;[/code]

The users geographical coordinates
longitude: [code]&lt;%= longitude_coordinate %&gt;[/code]
latitude: [code]&lt;%= latitude_coordinate %&gt;[/code]

As usual, if anyone has any suggestions on how to further improve this plugin, please send your comments over.

Homepage: http://www.railslodge.com/plugins/303-personalise-site
SVN: http://svn.railslodge.com/svn/plugins/personalise_site/</raw-content>
    <title>Personalise Site - Now implicitly gain a users geo data</title>
    <updated-on type="datetime">2007-12-07T07:22:35-08:00</updated-on>
    <user-id type="integer">1</user-id>
  </blog>
  <blog>
    <content>&lt;p&gt;This plugin provides helpers for your views that allow you to gain implicit data about the user browsing the site.&lt;br/&gt;
&lt;br/&gt;
This is intended to be used to customise what the user see's, maybe to improve usability or for cross-browser issues&lt;br/&gt;
&lt;br/&gt;
The following methods are available:&lt;br/&gt;
&lt;br/&gt;
Returns the name of the browser the user is using&lt;br/&gt;
&lt;/p&gt;&lt;pre&gt;&lt;span class=&quot;punct&quot;&gt;&amp;lt;%=&lt;/span&gt;&lt;span class=&quot;string&quot;&gt; which_browser %&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;p&gt;&lt;br/&gt;
&lt;br/&gt;
Returns the version number of the browser being used&lt;br/&gt;
&lt;/p&gt;&lt;pre&gt;&lt;span class=&quot;punct&quot;&gt;&amp;lt;%=&lt;/span&gt;&lt;span class=&quot;string&quot;&gt; which_browser_version%&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;p&gt;&lt;br/&gt;
&lt;br/&gt;
Returns the name of the platform the user is using&lt;br/&gt;
&lt;/p&gt;&lt;pre&gt;&lt;span class=&quot;punct&quot;&gt;&amp;lt;%=&lt;/span&gt;&lt;span class=&quot;string&quot;&gt; which_platform %&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;p&gt;&lt;br/&gt;
&lt;br/&gt;
Nil is always returned if the data is unavailable&lt;br/&gt;
&lt;br/&gt;
==== Example usage&lt;br/&gt;
&lt;br/&gt;
An example below looks at the platform and outputs the right command to install this plugin&lt;br/&gt;
&lt;/p&gt;&lt;pre&gt;&lt;span class=&quot;punct&quot;&gt;&amp;lt;%&lt;/span&gt; &lt;span class=&quot;keyword&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;ident&quot;&gt;which_platform?&lt;/span&gt; &lt;span class=&quot;punct&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;punct&quot;&gt;'&lt;/span&gt;&lt;span class=&quot;string&quot;&gt;Windows&lt;/span&gt;&lt;span class=&quot;punct&quot;&gt;'&lt;/span&gt; &lt;span class=&quot;punct&quot;&gt;-%&amp;gt;&lt;/span&gt;&lt;span class=&quot;string&quot;&gt;
	ruby script/plugin install http://svn.railslodge.com/svn/plugins/personalise_site/
&amp;lt;% elsif which_platform? == 'Mac' -%&lt;/span&gt;&lt;span class=&quot;punct&quot;&gt;&amp;gt;&lt;/span&gt;
	&lt;span class=&quot;punct&quot;&gt;./&lt;/span&gt;&lt;span class=&quot;regex&quot;&gt;script&lt;/span&gt;&lt;span class=&quot;punct&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;ident&quot;&gt;plugin&lt;/span&gt; &lt;span class=&quot;ident&quot;&gt;install&lt;/span&gt; &lt;span class=&quot;ident&quot;&gt;http&lt;/span&gt;&lt;span class=&quot;punct&quot;&gt;:/&lt;/span&gt;&lt;span class=&quot;regex&quot;&gt;&lt;/span&gt;&lt;span class=&quot;punct&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;ident&quot;&gt;svn&lt;/span&gt;&lt;span class=&quot;punct&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;ident&quot;&gt;railslodge&lt;/span&gt;&lt;span class=&quot;punct&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;ident&quot;&gt;com&lt;/span&gt;&lt;span class=&quot;punct&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;ident&quot;&gt;svn&lt;/span&gt;&lt;span class=&quot;punct&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;ident&quot;&gt;plugins&lt;/span&gt;&lt;span class=&quot;punct&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;ident&quot;&gt;personalise_site&lt;/span&gt;&lt;span class=&quot;punct&quot;&gt;/&lt;/span&gt;
&lt;span class=&quot;punct&quot;&gt;&amp;lt;%&lt;/span&gt; &lt;span class=&quot;keyword&quot;&gt;else&lt;/span&gt; &lt;span class=&quot;punct&quot;&gt;-%&amp;gt;&lt;/span&gt;&lt;span class=&quot;string&quot;&gt;
	script/plugin install http://svn.railslodge.com/svn/plugins/personalise_site/
&amp;lt;% end -%&lt;/span&gt;&lt;span class=&quot;punct&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;</content>
    <created-on type="datetime">2007-09-30T20:14:52-07:00</created-on>
    <data encoding="base64" type="binary" nil="true"></data>
    <id type="integer">13</id>
    <published-on type="datetime">2007-09-30T20:14:00-07:00</published-on>
    <raw-content>This plugin provides helpers for your views that allow you to gain implicit data about the user browsing the site.

This is intended to be used to customise what the user see's, maybe to improve usability or for cross-browser issues

The following methods are available:

Returns the name of the browser the user is using
[code]&lt;%= which_browser %&gt;[/code]

Returns the version number of the browser being used
[code]&lt;%= which_browser_version%&gt;[/code]

Returns the name of the platform the user is using
[code]&lt;%= which_platform %&gt;[/code]

Nil is always returned if the data is unavailable

==== Example usage

An example below looks at the platform and outputs the right command to install this plugin
[code]&lt;% if which_platform? == 'Windows' -%&gt;
	ruby script/plugin install http://svn.railslodge.com/svn/plugins/personalise_site/
&lt;% elsif which_platform? == 'Mac' -%&gt;
	./script/plugin install http://svn.railslodge.com/svn/plugins/personalise_site/
&lt;% else -%&gt;
	script/plugin install http://svn.railslodge.com/svn/plugins/personalise_site/
&lt;% end -%&gt;[/code]</raw-content>
    <title>New Plugin -  Personalise Site</title>
    <updated-on type="datetime">2007-12-01T21:23:59-08:00</updated-on>
    <user-id type="integer">1</user-id>
  </blog>
  <blog>
    <content>&lt;p&gt;TextFormatter plugin allows you filter user input, use the syntax gem, before it is saved to the database.&lt;br/&gt;
&lt;br/&gt;
Install the plugin:&lt;br/&gt;
&lt;/p&gt;&lt;pre class=&quot;terminal&quot;&gt;ruby script\plugin install http://svn.railslodge.com/svn/plugins/text_formatter/&lt;/pre&gt;&lt;p&gt;&lt;br/&gt;
&lt;br/&gt;
Install the following gems:&lt;br/&gt;
&lt;/p&gt;&lt;pre class=&quot;terminal&quot;&gt;gem install htmltokenizer
gem install syntax
gem install hpricot&lt;/pre&gt;&lt;p&gt;&lt;br/&gt;
&lt;br/&gt;
If you are using the syntax highlighting method, copy the css from /vender/plugins/text_formatter/stylesheets/text_formatter.css into your css file.&lt;br/&gt;
&lt;br/&gt;
The following methods can be used in your models:&lt;br/&gt;
&lt;br/&gt;
===Remove HTML Tags&lt;br/&gt;
Remove all html tags from the given fields&lt;br/&gt;
&lt;/p&gt;&lt;pre&gt;&lt;span class=&quot;ident&quot;&gt;tf_remove_html_tags&lt;/span&gt; &lt;span class=&quot;symbol&quot;&gt;:fieldname&lt;/span&gt;
&lt;span class=&quot;comment&quot;&gt;#e.g. tf_remove_html_tags :title, :post&lt;/span&gt;&lt;/pre&gt;&lt;p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
===Escape HTML Characters&lt;br/&gt;
Escape all tags and special characters&lt;br/&gt;
&lt;/p&gt;&lt;pre&gt;&lt;span class=&quot;ident&quot;&gt;tf_escape_html_characters&lt;/span&gt; &lt;span class=&quot;symbol&quot;&gt;:fieldname&lt;/span&gt;
&lt;span class=&quot;comment&quot;&gt;#e.g. tf_escape_all_html_characters :title, :post&lt;/span&gt;&lt;/pre&gt;&lt;p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
===Escape Only Text Characters&lt;br/&gt;
Escape all text except html tags&lt;br/&gt;
&lt;/p&gt;&lt;pre&gt;&lt;span class=&quot;ident&quot;&gt;tf_escape_text_characters&lt;/span&gt; &lt;span class=&quot;symbol&quot;&gt;:fieldname&lt;/span&gt;
&lt;span class=&quot;comment&quot;&gt;#e.g. tf_escape_text_characters :title, :post&lt;/span&gt;&lt;/pre&gt;&lt;p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
===Syntax Highlighting&lt;br/&gt;
Add syntax highlighting to all text within pre tags&lt;br/&gt;
&lt;/p&gt;&lt;pre&gt;&lt;span class=&quot;ident&quot;&gt;tf_syntax_highlighting&lt;/span&gt; &lt;span class=&quot;symbol&quot;&gt;:fieldname&lt;/span&gt;
&lt;span class=&quot;comment&quot;&gt;#e.g. tf_syntax_highlighting :title, :post&lt;/span&gt;&lt;/pre&gt;&lt;p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
===Simple Text Markup&lt;br/&gt;
Apply SimpleTextMarkup&lt;br/&gt;
&lt;/p&gt;&lt;pre&gt;&lt;span class=&quot;ident&quot;&gt;tf_simple_text_markup&lt;/span&gt; &lt;span class=&quot;symbol&quot;&gt;:fieldname&lt;/span&gt;
&lt;span class=&quot;comment&quot;&gt;#e.g. tf_simple_text_markup :title, :post&lt;/span&gt;&lt;/pre&gt;&lt;p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
===Content Formatter&lt;br/&gt;
Remove all html tags, SimpleTextMarkup, encode tags within html tags, syntax highlighting&lt;br/&gt;
&lt;/p&gt;&lt;pre&gt;&lt;span class=&quot;ident&quot;&gt;tf_content_formatter&lt;/span&gt; &lt;span class=&quot;symbol&quot;&gt;:fieldname&lt;/span&gt;
&lt;span class=&quot;comment&quot;&gt;#e.g. tf_content_formatter :title, :post&lt;/span&gt;&lt;/pre&gt;&lt;p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
===Basic Formatter&lt;br/&gt;
Remove all html tags, SimpleTextMarkup, encode tags within html tags&lt;br/&gt;
&lt;/p&gt;&lt;pre&gt;&lt;span class=&quot;ident&quot;&gt;tf_basic_formatter&lt;/span&gt; &lt;span class=&quot;symbol&quot;&gt;:fieldname&lt;/span&gt;
&lt;span class=&quot;comment&quot;&gt;#e.g. tf_basic_formatter :title, :post&lt;/span&gt;&lt;/pre&gt;</content>
    <created-on type="datetime">2007-09-10T23:57:12-07:00</created-on>
    <data encoding="base64" type="binary" nil="true"></data>
    <id type="integer">12</id>
    <published-on type="datetime">2007-09-10T23:55:00-07:00</published-on>
    <raw-content>TextFormatter plugin allows you filter user input, use the syntax gem, before it is saved to the database.

Install the plugin:
[terminal]ruby script\plugin install http://svn.railslodge.com/svn/plugins/text_formatter/[/terminal]

Install the following gems:
[terminal]gem install htmltokenizer
gem install syntax
gem install hpricot[/terminal]

If you are using the syntax highlighting method, copy the css from /vender/plugins/text_formatter/stylesheets/text_formatter.css into your css file.

The following methods can be used in your models:

===Remove HTML Tags
Remove all html tags from the given fields
[code]tf_remove_html_tags :fieldname
#e.g. tf_remove_html_tags :title, :post[/code]


===Escape HTML Characters
Escape all tags and special characters
[code]tf_escape_html_characters :fieldname
#e.g. tf_escape_all_html_characters :title, :post[/code]


===Escape Only Text Characters
Escape all text except html tags
[code]tf_escape_text_characters :fieldname
#e.g. tf_escape_text_characters :title, :post[/code]


===Syntax Highlighting
Add syntax highlighting to all text within pre tags
[code]tf_syntax_highlighting :fieldname
#e.g. tf_syntax_highlighting :title, :post[/code]


===Simple Text Markup
Apply SimpleTextMarkup
[code]tf_simple_text_markup :fieldname
#e.g. tf_simple_text_markup :title, :post[/code]


===Content Formatter
Remove all html tags, SimpleTextMarkup, encode tags within html tags, syntax highlighting
[code]tf_content_formatter :fieldname
#e.g. tf_content_formatter :title, :post[/code]


===Basic Formatter
Remove all html tags, SimpleTextMarkup, encode tags within html tags
[code]tf_basic_formatter :fieldname
#e.g. tf_basic_formatter :title, :post[/code]</raw-content>
    <title>New Plugin - Text Formatter</title>
    <updated-on type="datetime">2007-09-10T23:57:12-07:00</updated-on>
    <user-id type="integer">1</user-id>
  </blog>
  <blog>
    <content>&lt;p&gt;This is a simple plugin that will add a before_save callback to add nofollow to all links within the given fields.&lt;br/&gt;
&lt;br/&gt;
Example use:&lt;br/&gt;
&lt;br/&gt;
Install the plugin:&lt;br/&gt;
&lt;/p&gt;&lt;pre class=&quot;terminal&quot;&gt;ruby script\plugin install http://svn.railslodge.com/svn/plugins/nofollow_links/&lt;/pre&gt;&lt;p&gt;&lt;br/&gt;
    &lt;br/&gt;
Simply add this to the required fields&lt;br/&gt;
&lt;br/&gt;
e.g. Example model:&lt;br/&gt;
&lt;/p&gt;&lt;pre&gt;&lt;span class=&quot;keyword&quot;&gt;class &lt;/span&gt;&lt;span class=&quot;class&quot;&gt;Plugin&lt;/span&gt; &lt;span class=&quot;punct&quot;&gt;&amp;lt;&lt;/span&gt; &lt;span class=&quot;constant&quot;&gt;ActiveRecord&lt;/span&gt;&lt;span class=&quot;punct&quot;&gt;::&lt;/span&gt;&lt;span class=&quot;constant&quot;&gt;Base&lt;/span&gt;
    &lt;span class=&quot;comment&quot;&gt;#plugins&lt;/span&gt;
    &lt;span class=&quot;ident&quot;&gt;nofollow_links&lt;/span&gt; &lt;span class=&quot;symbol&quot;&gt;:content&lt;/span&gt;&lt;span class=&quot;punct&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;symbol&quot;&gt;:title&lt;/span&gt;
&lt;span class=&quot;keyword&quot;&gt;end&lt;/span&gt;&lt;/pre&gt;&lt;p&gt;&lt;br/&gt;
&lt;br/&gt;
See http://www.railslodge.com/plugins/106-nofollow-links for further details.&lt;/p&gt;</content>
    <created-on type="datetime">2007-09-08T19:26:16-07:00</created-on>
    <data encoding="base64" type="binary" nil="true"></data>
    <id type="integer">11</id>
    <published-on type="datetime">2007-09-08T19:23:00-07:00</published-on>
    <raw-content>This is a simple plugin that will add a before_save callback to add nofollow to all links within the given fields.

Example use:

Install the plugin:
[terminal]ruby script\plugin install http://svn.railslodge.com/svn/plugins/nofollow_links/[/terminal]
    
Simply add this to the required fields

e.g. Example model:
[code]class Plugin &lt; ActiveRecord::Base
    #plugins
    nofollow_links :content, :title
end[/code]

See http://www.railslodge.com/plugins/106-nofollow-links for further details.</raw-content>
    <title>New Plugin - Nofollow Links</title>
    <updated-on type="datetime">2007-09-08T19:29:12-07:00</updated-on>
    <user-id type="integer">1</user-id>
  </blog>
</blogs>
