PHP Classes

File: frame.php

Recommend this page to a friend!
  Classes of DAKEDO, Online Shopping Mall   Blogger Integration   frame.php   Download  
File: frame.php
Role: Application script
Content type: text/plain
Description: main file
Class: Blogger Integration
Import a blog published in Blogger.com into a site
Author: By
Last change: frame.php: added a example of array containing the global variables needed for osCommerce2.2ms2
Date: 17 years ago
Size: 1,702 bytes
 

Contents

Class file image Download
<?php
/*
      BloggerIntegration v1.1 - frame.php v1.1 2007/03/07

    This software enables you to insert a blog created with Blogger.com (FTP publishing) into your web site.
    More precisely, it wraps your website's look (or template) around your blog.

      Copyright (c) 2007 DAKEDO

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License along
    with this program; if not, write to the Free Software Foundation, Inc.,
    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

      designer: DAKEDO, Online Shopping Mall
      url: http://www.dakedo.com
      download: http://www.dakedo.com/blogs/27/2007/02/blogger-integration.html
      email: contact@dakedo.com
*/

// if (basename($_SERVER['PHP_SELF']) == 'frame.php') die;

 
include("includes/classes/BloggerIntegration.php");


 
//Parameters:
  //- name of the template file
  //- array containing the names of the global variables needed by the template if any
  // example for osCommerce
  // $blog = new BloggerIntegration('template.php',array('PHP_SELF','cPath', 'tree', 'categories_string', 'cPath_array','currencies','currency','cart'));

 
$blog = new BloggerIntegration('template.php');

 
$blog->output();
?>