Permalink
Browse files

Don't force.

  • Loading branch information...
samwilson committed Dec 17, 2015
1 parent 8a91e12 commit cbb07e996f5c932f758534db83f93b98e4922544
Showing with 1 addition and 2 deletions.
  1. +1 −2 action.php
View
@@ -44,7 +44,6 @@ public function handle(Doku_Event &$event, $param) {
$simplepie = new FeedParser();
$ua = 'Mozilla/4.0 (compatible; DokuWiki feedaggregator plugin '.wl('', '', true).')';
$simplepie->set_useragent($ua);
$simplepie->force_feed(true);
$simplepie->set_feed_url($feeds);
// Set up caching.
@@ -69,7 +68,7 @@ public function handle(Doku_Event &$event, $param) {
."<h2>".$item->get_title()."</h2>\n"
.$item->get_content()."\n"
."<p>"
." Published ".$item->get_date('j M Y')." "
." <a href='".$item->get_permalink()."'>Published ".$item->get_date('j M Y')."</a> "
." in <a href='".$item->get_feed()->get_permalink()."'>".$item->get_feed()->get_title()."</a>"
."</p>\n"
."</div>\n\n";

0 comments on commit cbb07e9

Please sign in to comment.