Comments (10)
I have had this problem as well.
Last month this happened with my original feed display from wordpress.com (using Feedroll). I researched, read and understood about the archiving of the code, moving to Github. I implemented the new feed2js code and it displayed great for a couple weeks. Now it displays "Array" in the item description.
Thank you so much for your efforts to keep Feed2js going! And thanks in advance for any advice you can provide about the "Array" text displaying.
Cindy
from feed2js.
Ben,
I installed a copy of the feed2js engine on my site and it works great!
The installation instructions on the main page for feed2js are dead-on and simple (if I can do it...). After you upload the directory (as is), navigate to the build.php page on your site. You'll be delighted to see the feed2js creation page we know and love. Enter your blogfeed url and away you go!
Once it's working, be sure to follow through with the rest of the instructions: limit the use of your engine to your own domain. Once you do this, you won't be able to use the build.php page anymore, and others will be kept out.Your feeds, however, will continue to use it flawlessly :) I used .htaccess file restriction method.
I tried to figure out a way to allow several urls to utilize the engine this way - no solution yet. It's all or one, I think.
Hope this helps - happy implementing!!
Cindy
from feed2js.
Thanks for noticing this- confirmed. I need to see what is different in the wordpress.com feeds. Returning an array likely means the parser sees two values for the description.
from feed2js.
Thanks for your response, cogdog. Looking forward to hearing your results when you have time :)
from feed2js.
So far I am stumped. I have been comparing and running diffs between my wordpress.com feeds and ones from self hosted wordpress, both RSS 2.0 feeds.
I use a debugging script that comes with Magpie, the RSS parser that Feed2JS uses to extract the content from feeds - this takes a feed and shows what variables te parser puts the feed elements into
http://feed2js.org/magpie_debug.php
What I can see is the content of a feed item, which on a self hosted Wordpress site feed is correctly parsed into item->['content']['encoded'] is tripped up on Wordpress.com that what should be an array element for ['encoded'] is just coming in as a string.... but I cannot figure out (yet) why.
from feed2js.
I would like to help but my coding skills are quite basic.Would anyone at WordPress.com be able to help?
from feed2js.
Thank, but I really cannot bring an issue to Wordpress.com until I find out whats triggering it. Their feeds validate, so it is some subtle issue un how Magpie works. The closest I have seen are some subtle differences in how Wordpress.com feeds encode entities like quotes
from feed2js.
A long time ago I remember I did parse an XML feed in classic ASP using MSXML, and I remember it was very tricky. It always seems like there is plenty to go wrong in XML feeds. But I don't think that experience will be of much use here.
from feed2js.
FWIW this issue only appears to happy on feed2js.org .. I tried this on a few installs I have of the latest source and the wordpress.com feed works as expected
from feed2js.
@alexseaa I'll make sure to update feed2js.org to make sure its using the latest source.
from feed2js.
Related Issues (20)
- Feed disappears when site changes to SSL HOT 1
- New RSS Parser HOT 1
- Access to close Issues HOT 4
- Valid RSS throws error HOT 3
- Allow https: while using $restrict_url HOT 2
- Feed won't validate WordPress feeds containing images with srcset HOT 2
- Links or not for rss-item ? HOT 1
- Failing to Fetch HTTP Redirect Feeds HOT 2
- master
- https://www.space.com/feeds/all does not validate but is valid per other RSS Feed validators HOT 6
- Feed Validator issue is breaking service
- PHP 8 incompatibility HOT 2
- Minor XSS issue HOT 3
- https://www.zdnet.com/news/rss.xml validates, but does not work?
- Websites validate, but are not working HOT 2
- Not working anymore? HOT 1
- Speed issues HOT 2
- Warning: date(): It is not safe to rely on the system's timezone settings. HOT 4
- feed output not WCAG 2.0 compliant HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from feed2js.