/[drupal]/contributions/modules/gdata/extras/gdata_blog.inc
ViewVC logotype

Diff of /contributions/modules/gdata/extras/gdata_blog.inc

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.2, Sun Sep 3 17:11:38 2006 UTC revision 1.3, Mon Sep 4 19:44:05 2006 UTC
# Line 19  Line 19 
19    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
20    */    */
21    
22  function blog_gdata($op) {  function blog_gdata($op, $path = '') {
23    switch ($op) {    switch ($op) {
24      case 'read':      case 'read':
25            if (0 == ($module_details = variable_get('gdata_blog', 0))) {
26            die(_gdata_error('error'));
27            }
28            gdata_blog_feed();
29        break;        break;
30    
31      case 'write':      case 'write':
# Line 57  function blog_gdata($op) { Line 61  function blog_gdata($op) {
61          'enabled' => 'true',          'enabled' => 'true',
62          'implements' => array('read'),          'implements' => array('read'),
63          'path' => 'blog',          'path' => 'blog',
64          'help' => t('This is just a testing of GData hook, comment'),          'help' => t('This is just a testing of GData hook for the blog module'),
65        );        );
66        break;        break;
67    }    }

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.2