Skip to content

Commit

Permalink
Fixing a small issue with urls
Browse files Browse the repository at this point in the history
  • Loading branch information
Mattias Stahre committed Feb 1, 2012
1 parent 3231c83 commit 09f4451
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
.DS_Store
.svn
13 changes: 10 additions & 3 deletions README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,22 @@ Contributors: plux, angrycreative
Tags: reco, widget, recommendation, recos
Requires at least: 3.0
Tested up to: 3.3.1
Stable tag: 0.1
Stable tag: 0.2

A small plugin to show a realtime widget from the Swedish site reco.se.
At the moment you must contact reco.se to be able to use this plugin.

== Description ==

Reco is a swedish consumer site where consumers recommend companies to other consumers by giving 'recos'.
Reco is a swedish consumer site where consumers recommend companies to other consumers by giving 'recos'. Notice that the plugin is in Swedish only right now as reco.se only are in Swedish anyway.

This plugin uses a shortcode "[reco-widget]" so that you can show a widget with recos for your company,
but you must contact reco.se to be able to use this plugin as it requires a "company id" and a "API-Key".

All development will be done over at our [github page](https://github.com/Angrycreative/reco-widget)

You can also get more information [here](http://www.angrycreative.se/oppen-kallkod/reco-for-wordpress/) (in Swedish)

== Installation ==

This section describes how to install the plugin and get it working.
Expand All @@ -23,10 +27,13 @@ e.g.

1. Upload `plugin-name.php` to the `/wp-content/plugins/` directory
1. Activate the plugin through the 'Plugins' menu in WordPress
1. Place `<?php do_action('plugin_name_hook'); ?>` in your templates
1. Place the shortcode `[reco-widget]` where you want to place it.

== Changelog ==

= 0.2 =
Fixing a small issue with incorrect links.

= 0.1 =
* Initial version.

Expand Down
4 changes: 2 additions & 2 deletions reco-widget.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Plugin Name: Reco Widget
Plugin URI: http://www.angrycreative.se/oppen-kallkod/reco-for-wordpress/
Description: Visar en widget från reco.se
Version: 0.1
Version: 0.2
Author: Angry Creative AB
Author URI: http://angrycreative.se
License: GPLv2
Expand Down Expand Up @@ -104,7 +104,7 @@ function reco_widget_short_code($atts) {
$buf .= ' <div class="reco_review_text_box">';
$buf .= ' <span class="reco_user_name">';
$buf .= ' <a target="_blank" href="http://www.reco.se/friends/profile.seam?friendId='. $data[$i]->reviewer->id .'">'. $data[$i]->reviewer->screenName .'</a>';
$buf .= ' </span> skrev om <span class="reco_company_name"><a href="http://www.reco.se/'. $itemList->restfulIdentifier .'">'. $itemList->name .'</a></span>: <br/>';
$buf .= ' </span> skrev om <span class="reco_company_name"><a href="'. $itemList->restfulIdentifier .'">'. $itemList->name .'</a></span>: <br/>';
$buf .= $data[$i]->text;
$buf .= ' </div>';

Expand Down

0 comments on commit 09f4451

Please sign in to comment.