hgh

Saturday, 30 July 2011

RSS Just Better plugin 0.5 released

[description] [installation] [FAQs] [changelog] [usage] [demo]

== Description ==

Requires at least: wp 2.8
Tested up to: wp 3.2.1
Stable tag: 0.5

It displays a list of feed items from a given feed URL. You can select the number of displayable items, whether you want publication date, time and/or excerpt (and how many chars of it). The user can choose to have a ordered (numbered) or unordered (bullet-point) list and to open a new windows or not, when clicking on the linked items.

== Installation ==

1. The easiest way is: from Plugins of your wordpress administration, select “Add new”, search for “RSS just better” into the search text-box then click on ‘Install’ (on the right) when prompted with this plugin

OR

you can daownload this plugin from [wordpress repository](http://wordpress.org/extend/plugins/RSS-just-better/), unzip it (a directory with 2 files will be extracted) and upload it to the ‘/wp-content/plugins/’ directory of your wordpress

3. Activate the plugin through the Plugins->Installed Plugins menu in your WordPress administration

4. Use it! (see Usage in Other Notes)

== Frequently Asked Questions ==

= Why the heck would I need/want it?

= It provides the latest items of any rss or atom feed on the Internet: can you imagine what boost of traffic it can bring to your blog?
Let’s pretend you write about volleyball, knitting or lactose-intolerance. You just need to enter the relevant feed in the feed URL and wait for it to display the latest items on your subject.

= Hey, I cannot find any configuration page in ‘Settings’! How do I use it?

= As a widget, you drag & drop the widget to any widget-ready area of your theme; open and complete the widget form and click on the ‘Save’ button. Close the widget if you want. Check your wp site now.
As a shortcode, choose the post or page you want your feed items to be displayed into, selecte HTML mode (IMPORTANT!) – and enter your shortcode as explained in Usage (in Other Notes).

== Changelog ==

= 0.5 =

* Added attribute “filter” to include or exclude given words
* Changed footer’s author link to the plugin homepage
* Set attribute Charex default value to 150 so that if excerpt is true, an excerpt is automatically displayed (for 150 chars).
* Changed attribute num default value to 5
* Enclosed shortcode in a class (it seems attribute feed collided with wordpress since 3.2)

= 0.4 =

* Made Date & Time formats (when selected) as those defined in wordpress settings page
* Made linkable title opening in new/same window according to widget selection
* Added attributed “title” and “link” to shortcodes too
* Made link for title as an image to an RSS cube
* Used fetch_feed as feed farser function (the other was not compatible with all the PHP server installations)
* Made code DHTML compatible (hopefully)

= 0.3 =

* Made it fully compatible with Atom 1.0
* Added proper error messages for: empty, non-existing URLs and invalid/misformatted feeds content
* Added defaults for target and list (widget fields)
* Added instruction to hide Warnings from the xmlsimple_load_file function
* Fixed a bug which prevented proper display of description/summary with tags

= 0.2 =

* Fixed a bug which prevented the shortcode to show feeds from URLs containing & and =
* Made it fully compatible with RSS version 0.92, 2.0, 2.0.1 where link and title might be omitted
* Made the widget title linkable to the feed URL
* Used the native PHP class simpleXML instead of the WordPress feed parser (Magpie)

= 0.1 =

* First release. Originating from google-news-widget plugin

== Usage ==

As a widget:

* in Appearance – > Widgets of your wp administration, drag & drop the RSS Just Better widget to any widget-ready area of your wp;
* Now, complete the widget form: enter a title to be given to your items list;
** Enter the rss or atom feed (the URL) of the items you wish to display;
** Enter enter any keyword which needs to be present or excluded in the titles of the choosen feed’s items. (*)
** Choose whether you want the widget title linkable to the feed (URL) or not;
** Choose whether you want a publication date/time, excerpt (and for how many char) or not;
** Select whether you want a dotted list (default) or a numbered/ordered list;
** Select whether you want the linked items to open up in a new page (default) or in the same page;
** Choose whether you allow this plugin’s author footer to be displayed or not (please, say yes);
** Click on ‘Save’ (and ‘Close’ the widget form, if you want).

As a shortcode:

* In Posts/Pages->Add New or Edit of your wp adminstration, select the HTML tab in the entry form;
* enter [RSSjb feed=”…”] where “…” is any rss or atom feed you wish to display;
That’s the sole mandatory attribute. Optional attributes are:

* filter: enter any keyword which needs to be present or avoided in the titles of the choosen feed’s items. (*)
* num: number of items to be displayed (default: 3);
* pubdate: either true or false to display the publication date/not (default: false);
* pubtime: either true or false to display the publication time/not (default: false);
* excerpt: either true or false to display the excerpt/not (default: false);
* charex: limit the number of the ecerpt chars to be displayed;
* list: either “ul” or “ol” to get unordered or ordered lists (default: “ul”);
* target: either “_blank” or “_self” to get links opened in a new or the same window (default: “_blank”);
* pubauthor: true/false whether you allow this plugin’s author footer to be displayed or not (please, say yes) (default: “_blank”);

(*) Notes on ‘filter’ attribute:
You can enter one of more words to be able to select your feed’s items by keyword.
So if you write “foo bar” you will INCLUDE ONLY those titles where ANY of the two word(s) is present
and if you write “-foo -bar” you will EXCLUDE ALL those titles where any of the two words is present instead.
You can also mix inclusive and exclusive terms as in “foo -bar” of course (it will include only titles with “foo” and without “bar”.)
Search is case insensitive and searches for keywords in the titles only.
Wildshars, quotes and boolean are not enabled for this search.

Example of shortcode with all attributes and default values:
[RSSjb feed=”http://feeds.feedburner.com/StefaniasBlog” filter=”" num=”5″, list=”ul”, target=”_blank”, pubdate=”false”, pubtime=”false”, pubauthor=”true”, excerpt=”false”, charex=”150″, title=”", link=”false”]

Tuesday, 5 July 2011

Primo In Finale, a trainer’s website

Confidentiality agreements prevent me from sharing over here projects and activities I have been involved in my profession but this time, I have finally embraced a personal project which needs some of my professional expertise.

It is an online marketing campaign for an voluntary athletics trainer’s website of a no-profit sport club: : Primo in Finale.

Primo is his first name but it also means 1° and Finale stands for Finale Ligure, his place but also ‘the final’. Funny. :-)

Primo has also the misfortune of being my uncle but this is another story. :-)

The athletes and competitions database that is behind this website has a very long story starting from the early 90′s and survived the technological changes thanks to exports and imports (I might tell you about it someday): I set it up for him and Primo has been maintaining it since then, day in day out (I wish I inherited his perseverance too :-( ).

Long story short, in the following weeks, I aim to share with you a few tips & tricks & tools of the trade to spread the words about his (or any) website online and not.

In the meanwhile, if you would like to pay a tribute to his hard work please visit Primo in Finale aka “1° in the final” :-) and if you are on facebook click on “Mi piace” (= “I like”) on the sidebar.

Thanks. Bedankt. Grazie.

Sunday, 3 July 2011

Social media on this blog

Ok, I have given in to the social media too. We are now on facebook, twitter and all that jazz.

Actually, all the above is for a reason to be disclosed soon.

Monday, 4 April 2011

Gallery Just Better 0.3

New version of my plugin.

I simply incorporated the amendments and fixes made to the native gallery. Fixes related to sizing the images according to the number of columns requested.

More to come.

Sunday, 3 April 2011

The Wind Cries Mary!

Yes, that’s the name of the wordpress theme I use. I finally managed to fix an annoying problem which prevented to see the comments. Now, communication with users who leave a comment should be easier.

Monday, 31 January 2011

Gallery Just better plugin released

Ok it’s online on wordpress now.

Yes, I have released a new plugin almost simultaneously with the release 3.1 of wordpress :-(

It’s about the native wordpress gallery with a few enhancement.

You are able to choose to display the linked pages/images in a new window or not and you are able to make the images not linkable and to link them to external URLs. External URLs are defined in the Description fields of the attached images.

See the plugin home page for more details.

Sunday, 23 January 2011

RSS Just Better plugin 0.4 released

Apparently, I have never posted about the release 0.4 of my plugin RSS Just Better plugin which happened in May last year…sigh.

As a good deed I do it today. Changes from vrsion 0.3:

  • Made Date & Time formats (when selected) as those defined in wordpress settings page
  • Made linkable title opening in new/same window according to widget selection
  • Added attributed “title” and “link” to shortcodes too
  • Made link for title as an image to an RSS cube
  • Used fetch_feed as feed farser function (the other was not compatible with all the PHP server installations)
  • Made code DHTML compatible (hopefully).

That’s all. A new version is due very soon. :-)

Tuesday, 4 January 2011

Google News and the feed parsers

It seems that Google has made their News (news.google.com) unavailable to feed parsers like Simplepie, Magpie, lastRSS or even like native php functions like simplexml_load_file for a while today. Google servers returned a “503 Service unavailable” error message until recently.

On the other hand, feeds have always been readable by browsers and feed aggregators like feedemon, as far as I have experienced.

All is back to normal now. Hopefully.

Wednesday, 29 December 2010

Timezones

No worry: this post is for a “coming soon” reason.

These examples give the local time at various locations around the world at 12:00 UTC when daylight saving time (or summer time) is not in effect:

Location(s) Time zone Time
Baker Island, Howland Island (both uninhabited) UTC−12 00:00
Samoa, American Samoa UTC−11 01:00
Hawaii, Papeete UTC−10 02:00
Marquesas Islands UTC−09:30 02:30
Anchorage, Fairbanks, Juneau UTC−09 03:00
Vancouver, Washington (U.S. state), Portland, Las Vegas, California, Baja California UTC−08 04:00
Alberta, Colorado, Arizona, Chihuahua, Sonora UTC−07 05:00
Costa Rica, Dallas, El Salvador, Guatemala, Honduras, Houston, Illinois, Manitoba, Mexico City, Nicaragua, Saskatchewan UTC−06 06:00
Ottawa, Toronto, Montreal, Boston, New York, North Carolina, Washington D.C., Georgia, Miami, Cuba, Jamaica, Haiti, Panama, Colombia, Continental Ecuador, Peru UTC−05 07:00
Venezuela UTC−04:30 07:30
Nova Scotia, Dominican Republic, Puerto Rico, Trinidad and Tobago, Amazonas, Bolivia, Continental Chile, Paraguay, San Luis Province UTC−04 08:00
Newfoundland UTC−03:30 08:30
Rio de Janeiro, São Paulo, Argentina (except San Luis Province), Uruguay, Nuuk UTC−03 09:00
Fernando de Noronha, South Georgia and the South Sandwich Islands UTC−02 10:00
Azores, Cape Verde UTC−01 11:00
Iceland, United Kingdom, Ireland, Continental Portugal, Morocco, Senegal, Ghana, Côte d’Ivoire UTC 12:00

Albania, Slovenia, Macedonia, Norway, Sweden, Denmark, Germany, the Netherlands, Belgium, Metropolitan France, Switzerland, Austria, Poland, Czech Republic, Slovakia, Hungary, European Spain, Italy, Croatia, Serbia, Bosnia and Herzegovina, Tunisia, Algeria, Nigeria, Cameroon, Angola, Kinshasa

UTC+01 13:00

Finland, Lithuania, Latvia, Estonia, Belarus, Ukraine, Romania, Bulgaria, Greece, Turkey, Cyprus, Syria, Lebanon, Jordan, Palestine, Israel, Egypt, Libya, Mozambique, Malawi, Zambia, Zimbabwe, South Africa

UTC+02 14:00
Moscow, Saint Petersburg, Samara, Iraq, Saudi Arabia, Yemen, Sudan, Ethiopia, Somalia, Kenya, Uganda, Tanzania, Madagascar UTC+03 15:00
Iran UTC+03:30 15:30
Georgia, Armenia, Azerbaijan, United Arab Emirates, Oman, Seychelles, Mauritius UTC+04 16:00
Afghanistan UTC+04:30 16:30
Sverdlovsk, Uzbekistan, Pakistan, Maldives, Kazakhstan UTC+05 17:00
India, Sri Lanka UTC+05:30 17:30
Nepal UTC+05:45 17:45
Novosibirsk, Almaty, Bangladesh UTC+06 18:00
Myanmar, Cocos Islands UTC+06:30 18:30
Krasnoyarsk, Thailand, Vietnam, Jakarta UTC+07 19:00
Irkutsk, Ulan Bator, China, Taiwan, Hong Kong, Philippines, Malaysia, Singapore, Western Australia UTC+08 20:00
Zabaykalsky, Japan, North Korea, South Korea, East Timor UTC+09 21:00
Northern Territory, South Australia UTC+09:30 21:30
Primorsky, New South Wales, Queensland, Tasmania, Victoria UTC+10 22:00
Lord Howe Island UTC+10:30 22:30
Kamchatka, Solomon Islands, New Caledonia UTC+11 23:00
Norfolk Island UTC+11:30 23:30
Fiji, New Zealand UTC+12 00:00 (the following day)
Chatham Islands UTC+12:45 00:45 (the following day)
Tonga UTC+13 01:00 (the following day)
Line Islands UTC+14 02:00 (the following day)

Where the adjustment for time zones results in a time at the other side of midnight from UTC, then the date at the location is one day later or earlier.

And of course, thanks to Wikipedia for this table.

Tuesday, 21 December 2010

Google News Plugin version 1.1 released

By popular demand, we have reverted the feed fetch to the fetch_feed function and abandoned simplexml_load_file which created so many problems to several users.

Also, as fetch_feed saves the fetched feed in a cache for 12 hours, we have increased the frequency of the cache refresh to 30 minutes.

Please, read the plugin homepage for the complete update.