Quantcast
Browsing latest articles
Browse All 41 View Live

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


Slow down data retrieval to preserve memory and avoid browser crash (PHP &...

I'd like to build a RSS data retrieval process with PHP, MySQL, SimplePie, and jQuery, however I encounter problems with a crashing browser, limited server memory and error 500 when trying to retrieve...

View Article

Use simplepie with composer

I am using PHP 7.3.5 and Composer version 1.8.5 and would like to use "simplepie/simplepie": "^1.5" to get data from an rss feed.When running the below script I get the error: Fatal error: Uncaught...

View Article


how to get source tag in RSS feed

Please, I have an RSS feed and need to get the source for every item. I'm using php and Samplepie.for example the RSS feed is like that : <?xml version='1.0' encoding='UTF-8'?><rss...

View Article

How to simplify these variables?

$feed1 = new SimplePie();$feed2 = new SimplePie();$feed3 = new SimplePie();$feed4 = new...

View Article

Can SimplePie grab images from feeds

I am using this simplepie and i have uploaded the files to my host. Everything seems to be working fine except one thing. The blog that i'm getting the feed from has images in it, and when i use the...

View Article

Very fast parser (php) for huge xml-feeds

I need a very fast php parsing implementation for parsing huge xml-feeeds on the fly, it would be very important that the parser starts parsing when the data comes in, not only when the whole feed is...

View Article


I've been working on some RSS scraper that parses data from multiple sources. That said, all this sources have their own implementation of the description of the RSS.One in particular, uses CDATA tags...

View Article


Cannot get thumbnail in rss feed in laravel

I am using willvincent feed reader to parse rss feeds, But i cannot seem to get the thumbail of the images,Here is my codeRoute::get('feed', function(Request $request) { $f =...

View Article

How to get DOCUMENT_ROOT to work on both localhost and web host?

I have a WordPress plugin that I would like to work on localhost as well as in deployment without modification, but I can't seem to set the location for a directory using one statement.I would like to...

View Article

SimplePie and fetching multiple feeds from blogspot.com

I've been doing a lot of work with SimplePie the last few days and I've noticed it doesn't always treat Blogger feeds the same. If I pass a Blogger feed to SimplePie like this...

View Article


Simplepie proxy support

Is there a simple solution to adding proxy settings on SimplePie? I've tried to look through resources online and there are a bunch of patches. None of them are really clear on what version of...

View Article

Want to parse podcast feed in php

I want to get the audio and logo URLs for each episode of the podcast using php.First I try to use simplepie to parse feed. But, it so complex for me. I only found how to get podcast episode's logo....

View Article

Simplepie can't write specific feed's cache file

I have this very odd problem where only one of my (6) feeds won't display anything on the page.So, I checked the server and apparently just this one feed's cache file won't get written. There are also...

View Article

How do I access the time at which WordPress refreshed RSS fetch_feed

WordPress 6.4.2 running Twenty Twenty-Four theme.I am able to control the refresh interval of a feed in a RSS Block using a code snippet without any problem:function return_cache_time( $seconds ){//...

View Article



New SimplePie Installation Produces "Class not found" Error

I'm trying to upgrade a SimplePie https://github.com/simplepie/simplepie installation on XAMPP; moving from PHP 5.x to 8.2; essentially a brand new installation. It was functioning as expected under...

View Article
Browsing latest articles
Browse All 41 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>