rss

How can I get an icon for my RSS feed?

a 夏天 提交于 2019-12-13 08:04:28
问题 And by icon I mean an icon which would be used in for example Google Reader. I suppose I have to add a child element of some sort to my <channel> , but can't quite figure it out... 回答1: If your website has a favicon.ico then Google Reader will automatically load the icon. Note: The favicon must be found at the example.com/favicon.ico root folder location. 回答2: I could be wrong, but doesn't it just use the favicon? I'm basing this on the initial release note: http://googlereader.blogspot.com

Display RSS feed item on intranet via php

a 夏天 提交于 2019-12-13 06:50:35
问题 I've been at this the whole day. We have an intranet at the office, some PC's does not have internet access. I'm trying to get this website's RSS ( http://news.bbc.co.uk/onthisday/ )into a table with images and display it on the intranet, is this at all possible? Can someone please point me in the right direction? 回答1: http://newsrss.bbc.co.uk/rss/on_this_day/front_page/rss.xml There's your XML, just use SimpleXML to get your data from it. Very simple really. Something to get you started: $a

displaying rss feed with php pagination

让人想犯罪 __ 提交于 2019-12-13 06:24:57
问题 I'm new to rss feeds and php pagination. I'm trying to parse rss feed and display each feed details on separate pages. I copied and pasted the pagination code from http://www.phpeasystep.com/phptu/29.html. When i run index.php on localhost, nothing gets displayed. I have no problem downloading the rss feed using curl. I have also tried print_r($data) and data is displaying fine. Can someone point me on where i'm going wrong? thank you. my code: <?php if (function_exists("curl_init")){ $ch

Loop through multiple RSS sources and outputting in different divs?

◇◆丶佛笑我妖孽 提交于 2019-12-13 06:02:28
问题 I want to loop through two (possibly more in the future) RSS-feeds and put them in different container divs. I started out with following this question: JQuery Fetch Multiple RSS feeds. Here's my code. var thehtml = ''; $(function () { var urls = ['http://www.gosugamers.net/counterstrike/news/rss', 'http://www.hltv.org/news.rss.php']; for (var i = 0; i < urls.length; i++) { $.ajax({ type: "GET", url: document.location.protocol + '//ajax.googleapis.com/ajax/services/feed/load?v=1.0&num=1000

Shopify blog feeding mailchimp campaign doesn't display images

醉酒当歌 提交于 2019-12-13 05:43:17
问题 I'm setting up a simple Mailchimp campaign for a client which mails the latest blog post on a Shopify website. Mailchimp reads the entries from the site's RSS feed (via feedburner) and displays them in an email template but the blog's images are always broken links. The images have been uploaded directly to Shopify for the articles and are delivered through it's content delivery network. References appear similar to: <img src="//cdn.shopify.com/s/files/1/2222/3333/files/my-image.jpg?1234" />

Gizmodo RSS Feed getting stale

ぐ巨炮叔叔 提交于 2019-12-13 05:42:19
问题 I started pulling information from blogs into an app I am building using RSS. I have a cron job that runs every minute and does a fetch and parse of the rss feeds of multiple sites. New blog posts are added to my database everytime a new article shows up in the feed. I am using Feedjira to do the retrieving and parsing of the feed. Everything works perfect for every blog I have tried so far except Gizmodo. After about 10 mins the RSS feed I receive stops updating, even though the blog keeps

Update RSS file from another XML file

大憨熊 提交于 2019-12-13 05:39:53
问题 I am not sure how to do this? I want to be able to update an xml file (which I can do) and then have the rss feed atomically updated from this xml file. Hope this makes sense. I can update and show the data from my XML file. I do this with XSL and some PHP. I can create and show the data from an RSS file. I dont know how to link the two so when I update the XML file it updates the details in the RSS file. Hope this makes sense. This is the xml file - catalogue.xml <?xml version="1.0" encoding

How do I format XML ampersands for XSL transform

∥☆過路亽.° 提交于 2019-12-13 05:03:41
问题 I am attempting to transform the XML I'm retrieving from an RSS feed. This links within this feed contain ampersands which, as I mentioned here, are causing the transform to bomb. (Replacing all of the "&" with "&" in the RSS's XML allows the transform to complete.) Can anyone recommend a good approach for reformatting the RSS XML, or is there no good way to do this? 回答1: In XML you need to use & to escape an ampersand. XSLT is XML so the same rule applies. 来源: https://stackoverflow.com

Removing column name from SharePoint RSS feed

…衆ロ難τιáo~ 提交于 2019-12-13 04:21:27
问题 I have a SharePoint 2007 site the exposes RSS feeds to a static HTML page. The static page will aggregate and display them via jQuery AJAX. The problem is that SharePoint includes the name and value of the columns in the body of the feed (go to link and search for body ) which makes my page look like this: Note the Body: after the date and before the description. I don't want that there column names in the feed. How do I tell SharePoint to exclude the column names? Here is a section of the

Display media files from a wordpress rss feed

邮差的信 提交于 2019-12-13 04:17:14
问题 I am parsing the rss feed of a regular wordpress.com blog using PHP in order to display a preview of the posts on my website. It correctly displays: Title, Description and publication date. BUT I would like to display also the images of each post. If I open the feed's URL, there is a chart with "media files links", but I don't know how to access those links. Do you have any suggestions? This is the code I am using: <?php $xml=("http://testmustard.wordpress.com/feed/"); $xmlDoc = new