Skip to content
This repository has been archived by the owner on Jul 26, 2023. It is now read-only.

CHROME: This XML file does not appear to have any style information associated with it #5

Open
ghost opened this issue Mar 31, 2014 · 0 comments

Comments

@ghost
Copy link

ghost commented Mar 31, 2014

CHROME:

This XML file does not appear to have any style information associated with it

Yii::import('ext.feed.*');


$feed = new EFeed(EFeed::ATOM);

// IMPORTANT : No need to add id for feed or channel. It will be automatically created from link.
$feed->title = 'Testing the ATOM RSS EFeed class';
$feed->link = 'http://www.ramirezcobos.com';

$feed->addChannelTag('updated', date(DATE_ATOM, time()));
$feed->addChannelTag('author', array('name'=>'Antonio Ramirez Cobos'));

$item = $feed->createNewItem();

$item->title = 'The first Feed';
$item->link  = 'http://www.ramirezcobos.com';
// we can also insert well formatted date strings
$item->date ='2010/24/12';
$item->description = 'Test of CDATA Encoded description <b>EFeed Extension</b>';

$feed->addItem($item);

$feed->generateFeed();
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants