Permalink
Browse files

Merged master branch

  • Loading branch information...
1 parent bc0f44b commit de4ddc512f0123a6bb72209ee672c93f97b48b58 @remiprev committed Mar 3, 2010
Showing with 40 additions and 47 deletions.
  1. +37 −0 CHANGELOG.mkd
  2. +0 −44 CHANGELOG.txt
  3. 0 README.md → README.mkd
  4. +2 −2 lib/Pubwich.php
  5. +1 −1 lib/Services/Gowalla.php
View
@@ -0,0 +1,37 @@
+Pubwich’s changelog
+===================
+
+Pubwich 1.3 (2010-02-18)
+-------------------------------------------------
+* Added GitHub service.
+* Added Gowalla service.
+* Added support for custom services in `/themes/theme_name/lib/Services`.
+* Added custom HTTP headers capabilities to FileFetcher.
+* Modified the standard way to extend existing services, with the `requireServiceFile` method.
+* Merged pubwich-i18n repository into core.
+* Modified the default theme to add `box-shadow` to individual service boxes.
+* Moved `Zend_Json` from Twitter service to the main Pubwich class, so other services can use it.
+* Fixed a bug in Readernaut service where `{%size%}` would not work properly.
+
+Pubwich 1.2 (2009-12-08) - `31db64390f9428389acef1c338426c6c7e2e7b2c`
+---------------------------------------------------------------------
+* Added support to add `<head>` links for services.
+* Added some .htaccess files to prevent from loading PHP files from the browser.
+* Added `{%content%}` tag for the RSS service.
+* Added Sample service (Sample.php).
+
+Pubwich 1.1 (2009-10-11) - `7bfae13e74836981b2c4287d4786e37c39b66c7d`
+---------------------------------------------------------------------
+* Added multi-methods support for services. For example, the Flickr service now has FlickrUser, FlickrGroup and FlickrTags methods.
+* Added custom callback support for services that might not use XML (like JSON) Default callback is still `simplexml_load_string`.
+* Added `Zend_Json` library, in case PHP's json extension is not enabled.
+* Removed PHP Smartypants and PHP Markdown.
+* Changed the default theme's font.
+* Removed PEAR dependency.
+* Updated Savant3 to its latest codebase (compatible with PHP 5.3).
+* Services that use RSS (like Delicious) and Atom (like YouTube) feeds are now extending RSS or Atom service class.
+* Fixed Twitter negative time bug (#19).
+
+Pubwich 1.0 (2009-09-20) - `39f93374894ece0fcd552feb78a82c1654ded63d`
+---------------------------------------------------------------------
+* Initial release
View
@@ -1,44 +0,0 @@
-
-Pubwich’s changelog
----------------------------------------------------------------------------------------
-+ Added feature
-- Removed feature
-* Modified feature
-! Fixed bug
-$ Other information
----------------------------------------------------------------------------------------
-
-Pubwich 1.3 (in progress…)
----------------------------------------------------------------------------------------
-+ Added support for custom services in `/themes/theme_name/lib/Services`.
-+ Added GitHub service.
-* Modified the standard way to extend existing services, with the
- `requireServiceFile` method.
-* Merged pubwich-i18n repository into core.
-* Modified the default theme to add `box-shadow` to individual service boxes.
-
-Pubwich 1.2 (2009-12-08)
----------------------------------------------------------------------------------------
-+ Added support to add <head> links for services.
-+ Added some .htaccess files to prevent from loading PHP files from the browser.
-+ Added {%content%} tag for the RSS service.
-+ Added Sample service (Sample.php).
-
-Pubwich 1.1 (2009-10-11)
----------------------------------------------------------------------------------------
-+ Added multi-methods support for services. For example, the Flickr
- service now has FlickrUser, FlickrGroup and FlickrTags methods.
-+ Added custom callback support for services that might not use XML (like JSON)
- Default callback is still `simplexml_load_string`.
-+ Added Zend_Json library, in case PHP's json extension is not enabled.
-- Removed PHP Smartypants and PHP Markdown.
-* Changed the default theme's font.
-* Removed PEAR dependency.
-* Updated Savant3 to its latest codebase (compatible with PHP 5.3).
-* Services that use RSS (like Del.icio.us) and Atom (like YouTube) feeds are now
- extending RSS or Atom service class.
-! Fixed Twitter negative time bug (#19).
-
-Pubwich 1.0 (2009-09-20)
----------------------------------------------------------------------------------------
-$ Initial release
View
File renamed without changes.
View
@@ -1,7 +1,7 @@
<?php
defined('PUBWICH') or die('No direct access allowed.');
- define( 'PUBWICH_VERSION', 'trunk' );
+ define( 'PUBWICH_VERSION', '1.3' );
/**
* @classname Pubwich
@@ -51,7 +51,7 @@ static public function init() {
// Let’s modify the `include_path`
$path = dirname(__FILE__).'/';
$path_pear = dirname(__FILE__).'/PEAR/';
- set_include_path( get_include_path() . PATH_SEPARATOR . $path . PATH_SEPARATOR . $path_pear );
+ set_include_path( $path . PATH_SEPARATOR . $path_pear . PATH_SEPARATOR . get_include_path() );
require_once( 'PEAR.php' );
View
@@ -85,7 +85,7 @@ public function populateItemTemplate( &$item ) {
'date' => Pubwich::time_since( $item->last_checkin_at ),
'image' => $item->spot->image_url,
'name' => $item->spot->name,
- 'url' => $this->base.$item->url,
+ 'url' => $this->base.$item->spot->url,
'visits' => $item->checkins_count,
);
}

0 comments on commit de4ddc5

Please sign in to comment.