Quantcast
Channel: Active questions tagged simplepie - Stack Overflow
Browsing all 40 articles
Browse latest View live

simplepie error on xampp

I am using Simplepie on XAMPP. I get the following error.Severity: User Warning Message: C:\xampp\htdocs\Myapp/system/cache/simplepie/ is not writeable. Make sure you've set the correct relative or...

View Article



WordPress Inquiry : Can't Parse custom tags in RSS item feed using SimplePie

I modified my default rss feed items to include elemnts from custom fields. It now looks like this. <item><title>Post...

View Article

PHP SimplePie throwing unserialize error on Feeds::make($feedUrl, 100)

When using SimplePie to get a list of the latest rss posts, the following code sometimes throws errors:$rssPosts = Feeds::make($rssFeedUrl, 100);PHP Notice: unserialize(): Error at offset 1177620 of...

View Article

Using SimplePie feed parser in Laravel

I tried to use the SimplePie feed parser in Laravel. I pushed autoloader.php and library folder of SimplePie in the Laravel libraries folder, then I added a map for SimplePie in start.php // folder...

View Article

RSS Feed not showing latest post

Backstory: I have a WordPress install where the core single post/archive type was utilized for a CPT by a previous developer. I was requested by the client to create a separate WordPress install for...

View Article


PHP access to iTunes tags in an RSS feed

I need to get access to the iTunes tags in an RSS feed using PHP. I've used simplepie before for podcast feeds, but I'm not sure how to get the iTunes tags using it. Is there a way to use simplepie to...

View Article

Loading Simplepie feed url from database

I am using simplepie 1.5 and fetching multiple feed urls $feed->set_feed_url(array('x','y','z'));How can I load the feed URLs from my database table?Attaching the code used.$results =...

View Article

values not adding to db from simplepie

I am trying to fetch feeds using Simplepie, but when using some sources (like this and this) values are not inserting to the database.Can someone help solve the issue?$feedurls = array();while ($row =...

View Article


PHP SimplePie Error: $item->get_enclosure() always return true

Am trying to build a news reader using php SimplePie Library. When i try to get image from feed using codeif ($enclosure = $item->get_enclosure()){ $imageLink = $enclosure->get_link(); echo...

View Article


conditional loop to fetch images in php simplepie rss

I am trying to make a news reader using SimplePie in PHP. Everything was working fine when i tried to fetch images from feeds. In my little understanding what i concluded is i have to fetch images in...

View Article

how to validate RSS feed URL in simplpie library

I want to validate RSS feed URL before its process for parsing. I am using willvincent/feeds library for this.$feed = Feeds::make($rssurl);$items = $feed->get_items();I am parsing RSS feed like...

View Article

SimplePie Error - Curl Timeout on Wordpress

I'm getting the error WP HTTP Error: cURL error 28: Operation timed out after 1001 milliseconds with 0 bytes received using the fetch_feed() method in my Wordpress Plugin.This is for trying to fetch a...

View Article

Comma-separated list valid in Content-Type header?

An RSS feed provider recently started sending this in its response headers:Content-type: application/rss+xml, text/xml; charset=UTF-8To support this provider, I needed to change a line in a feed...

View Article


How to get the url from in a RSS feed using SimplePie

I'm trying to use SimplePie and PHP to grab the url value from the tag. An example of the RSS code is:<item><title>Headline goes...

View Article

RSS WordPress SimplePie claiming valid URL as invalid

I'm trying to load a RSS feed with Wordpress's built-in SimplePie.include_once(ABSPATH . WPINC . '/feed.php');$rssURL = 'http://missionstkitts.blogspot.com//feeds/posts/default';$rss =...

View Article


Simplepie not displaying RSS Feed

I am using simplepie-1.5 but it's not displaying any RSS feed. I am only getting white page.Code:<?phprequire_once 'autoloader.php';$url =...

View Article

SimplePie: Fetch result starting from the first entries of the feed

I have a function which extracts data from an rss feed though simplepie. I have a foreach ( $rss_items as $item ) and a list of items. Every <li> has its $item->get_title(); and...

View Article


Array to String Conversion Error while tweaking Simplepie

I am using SimplePie library for feed generation. I made some changes for desired output. It was working great till today. Here is my code:<?phpheader('Content-type: text/plain; charset=utf-8'); //...

View Article

How to use SimplePie laravel package to display rss feed?

I want to display news from the given rss feed url. But I am not getting anything in data section. Below is the code I tried from https://github.com/willvincent/feeds and replaced the url.public...

View Article

PHP way of parsing HTML string

I have a php string that contains the below HTML I am retrieving from an RSS feed. I am using simple pie and cant find any other way of splitting these two datasets it gets from <description>. If...

View Article
Browsing all 40 articles
Browse latest View live




Latest Images