{"id":2106,"date":"2022-08-30T15:22:06","date_gmt":"2022-08-30T15:22:06","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/01\/02\/problem-about-feed-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:22:06","modified_gmt":"2022-08-30T15:22:06","slug":"problem-about-feed-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/problem-about-feed-collection-of-common-programming-errors\/","title":{"rendered":"problem about feed-Collection of common programming errors"},"content":{"rendered":"<ul>\n<li>\n<img decoding=\"async\" src=\"http:\/\/i.stack.imgur.com\/vCAom.jpg?s=32&amp;g=1\" \/><br \/>\nChuck Burgess<br \/>\napache cakephp rss crash feed<br \/>\nWhen I put Router::parseExtensions(&#8216;rss&#8217;); to routes.php, Apache crashes. So i can&#8217;t make rss feed. Any ideas ?here is a screenshot[Sat Jan 05 13:02:35.131540 2013] [mpm_winnt:notice] [pid 1576:tid 252] AH00428: Parent: child process exited with status 3221225477 &#8212; Restarting. [Sat Jan 05 13:02:35.686942 2013] [ssl:warn] [pid 1576:tid 252] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache] [Sat Jan 05 13:02:35.733742 2013] [mpm_winnt:notice] [pid 1576:tid 252] AH00455: Apac<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/2b6001a08d86db9a858ab55989b5b367?s=32&amp;d=identicon&amp;r=PG&amp;f=1\" \/><br \/>\nuser2701479<br \/>\ncrash modal-dialog feed facebook-ios-sdk<br \/>\nUsing Facebook iOS SDK 3.7, Xcode 4.6, iOS simulator 6.0.Here is my code:NSLog (@&#8221;opening session&#8221;); [FBSession openActiveSessionWithPublishPermissions: @[@&#8221;publish_actions&#8221;]defaultAudience: FBSessionDefaultAudienceFriendsallowLoginUI: YEScompletionHandler: nil]; NSLog (@&#8221;open active session completed&#8221;); if ([FBSession activeSession].isOpen) {NSLog (@&#8221;initiating feed dialog&#8221;);[FBWebDialogs presentFeedDialogModallyWithSession: nilparameters: nilhandler: nil]; }When executed, it crashes with the f<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/fa8d12042cd7c458bcb9bb56c4c0112c?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nuser_2000<br \/>\nrss feed scrapy feedparser<br \/>\nI&#8217;m trying to parse RSS feeds from a url using feedparser in python.&gt;&gt;&gt; import feedparser &gt;&gt;&gt; d = feedparser.parse(&#8216;http:\/\/www.shop.inonit.in\/RSSFeedDetails.aspx?PID=801&#8217;) &gt;&gt;&gt; d {&#8216;feed&#8217;: {&#8216;summary&#8217;: u'&lt;span&gt;&lt;h1&gt;Server Error in \\&#8217;\/mobile\\&#8217; Application.&lt;hr color=&#8221;silver&#8221; size=&#8221;1&#8243; width=&#8221;100%&#8221; \/&gt;&lt;\/h1&gt;\\n\\n &lt;h2&gt; &lt;i&gt;Attempted to divide by zero.&lt;\/i&gt; &lt;\/h2&gt;&lt;\/span&gt;\\n\\n &lt;font face=&#8221;Arial, Helvetica,<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/e1371ed5912d3c92b8eedff53d831772?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\naccountDevelopment<br \/>\nxcode facebook json message feed<br \/>\nI need your help. I can parse correctly the graph.facebook.com\/me\/feed JSON, but i can&#8217;t do it with graph.facebook.com\/me\/conversations. Can you please help me? this is how i get the last message from feedNSDictionary* json = [NSJSONSerialization JSONObjectWithData:responseDataoptions:kNilOptionserror:nil];NSLog(@&#8221;json %@&#8221;, json);NSDictionary *items = [json objectForKey:@&#8221;data&#8221;];\/\/ NSDictionary *item = [items objectAtIndex:1];NSLog(@&#8221;items %@&#8221;, items);NSMutableArray *story = [NSMutableArray arra<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/ea4145289649a6fa1a9ebdaabc52dab7?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nJordan Fitz<br \/>\njavascript twitter widget twitter-api feed<br \/>\nhumans.I had a custom Twitter feed widget that was working fine until the API update. The code was like this:&lt;ul id=&#8221;twitter_update_list&#8221;&gt;&lt;li&gt;Twitter feed loading&lt;\/li&gt;&lt;\/ul&gt; &lt;script type=&#8221;text\/javascript&#8221; src=&#8221;http:\/\/twitter.com\/javascripts\/blogger.js&#8221;&gt;&lt;\/script&gt; &lt;script type=&#8221;text\/javascript&#8221; src=&#8221;https:\/\/api.twitter.com\/1.1\/statuses\/user_timeline\/username.json?callback=twitterCallback2&amp;amp;count=4&#8243;&gt;&lt;\/script&gt;Now that they have updated to API 1.1<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/affeccd3b26ccd76572263880ce48465?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nuser667193<br \/>\njavascript jquery youtube feed<br \/>\nCan someone please tell me how to get two times #videoContainer on the same page:&lt;!DOCTYPE html PUBLIC &#8220;-\/\/W3C\/\/DTD XHTML 1.0 Transitional\/\/EN&#8221; &#8220;http:\/\/www.w3.org\/TR\/xhtml1\/DTD\/xhtml1-transitional.dtd&#8221;&gt; &lt;html xmlns=&#8221;http:\/\/www.w3.org\/1999\/xhtml&#8221; xmlns:fb=&#8221;http:\/\/www.facebook.com\/2008\/fbml&#8221;&gt; &lt;head&gt; &lt;title&gt;My Videos&lt;\/title&gt; &lt;script type=&#8221;text\/javascript&#8221; src=&#8221;http:\/\/ajax.googleapis.com\/ajax\/libs\/swfobject\/2.2\/swfobject.js&#8221;&gt;&lt;\/script&gt; &lt;script type=&#8221;text\/j<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/33d87123d88c3805d4b0400f811447a2?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nHidde<br \/>\nxml html5 rss local-storage feed<br \/>\nI need to read XML data and show this in HTML and at the same time save it in localStorage.When the user is ofline I need show the content using localStorage.(NOTE: without PHP) (NOTE: when user have internet read and show new items )Does anyone have a good tutorial or any helpful website?<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/01be68ca0f4f9d4b6788d54834a166f3?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nAlecRust<br \/>\nrss feed fetch-feed<br \/>\nI&#8217;m using this script in two places on the same page to output some RSS feeds:&lt;?phpinclude_once(ABSPATH . WPINC . &#8216;\/feed.php&#8217;);$rss = fetch_feed(&#8216;https:\/\/api.twitter.com\/1\/statuses\/user_timeline.rss?screen_name=BarackObama&#8217;);$maxitems = $rss-&gt;get_item_quantity(3);$rss_items = $rss-&gt;get_items(0, $maxitems); ?&gt; &lt;?php if ($maxitems == 0) echo &#8216;&lt;p class=&#8221;alert&#8221;&gt;No activity to display.&lt;\/p&gt;&#8217;; ?&gt; &lt;ul&gt; &lt;?phpif (!$maxitems == 0)foreach ( $rss_items as $item ) : ?&gt;<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/ab89ce39f47b327f1c85e4019e865a71?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nRarst<br \/>\nerrors php feed<br \/>\nI have PHP errors redirected to log file. Only for WP installation so this definitely doesn&#8217;t come from somewhere else. This is what started to come up recently (this is all of them, not cut):[22-Sep-2010 14:30:41] junk after document element at line 2, column 0 [22-Sep-2010 16:17:08] junk after document element at line 2, column 0 [22-Sep-2010 17:19:42] junk after document element at line 2, column 0 [22-Sep-2010 18:30:19] junk after document element at line 2, column 0 [22-Sep-2010 20:19:23] j<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/733a692d4414230e20c6d0f8d8cc7c24?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nMartin Trigaux<br \/>\ncomments feed<br \/>\nI used to have a rss comment feed at the url \/comments\/feed which doesn&#8217;t work anymore.I checked the feed on feedvalidator and I&#8217;ve an errorline 111, column 29: Undefined named entity: ndash [help]The line in question is comment where the content is&lt;guid isPermaLink=&#8221;false&#8221;&gt;http:\/\/mart-e.be\/?p=1694#comment-9711&lt;\/guid&gt; &lt;description&gt;Ou mettre des &amp;ndash; \u00e0 la place des &#8211; Mais oui la solution de rcommande fonctionne bien :)&lt;\/description&gt;In the context, it is normal that<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/92f9776e54c0ff50bd4ca039ca072019?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nbsod99<br \/>\nrss feed<br \/>\nI am trying to figure out the best way to do this with WordPress. I want to show a feed of news items on my site &#8211; the items are pulled from an external RSS feed. If an item is clicked, I want to show the contents of that specific item on a page within my own site. Looking at the contents of the external feed I am accessing, the unique identifier for each news item is stored in the query string of the link for that story, so I&#8217;m not really sure how I can use this to achieve what I want. Does any<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/4d0e8d5c13c93a87bc49a565382e5167?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nRadom\u00edr Lau\u010d\u00edk<br \/>\nfacebook dialog feed<br \/>\nI am developing simple facebook canvas app. I was following this page in documentation: http:\/\/developers.facebook.com\/docs\/appsonfacebook\/tutorial\/In my app, I would like to encourage users to share it, so I tried to make a feed dialog according to this (first javascript example): http:\/\/developers.facebook.com\/docs\/reference\/dialogs\/feed\/I am able to share a link, but nothing happens after clicking share or cancel. I have defined the redirect_uri parameter a it is the same domain URI as define<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/c9bef77e2d810012d8c96f84b9fc9bc9?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nuser2363025<br \/>\njavascript twitter titanium feed<br \/>\nI&#8217;m using the codebird library to get a twitter feed of a user in a titanium app. See code below:function fetchTwitter(){var data = [];cb.__call(&#8216;statuses\/user_timeline&#8217;,&#8221;screen_name=ClassicHits4FM&#8221;,function (reply) {\/\/ &#8230;Ti.API.info(&#8220;newest and Example that should work just reply&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8220;+ reply);Ti.API.info(&#8220;newest and Example that may work, reply&#8217;s text &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8220;+ reply[0].text);Ti.API.info(&#8220;newest and Example that may work, reply&#8217;s text &#8212;&#8212;&#8212;-<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/74f421193f9d9c060354b688f90fa2cc?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nNoor<br \/>\njavascript xml feed<br \/>\nI&#8217;m trying to use javascript and read from http:\/\/search.yahooapis.com\/ WebSearchService \/V1\/webSearch?appid=YahooDemo &amp;query=persimmon&amp;results=2 using xmlhttp. I&#8217;m getting an error because it cannot read&lt;script type=&#8221;text\/javascript&#8221;&gt;url=&#8221;http:\/\/search.yahooapis.com\/ WebSearchService \/V1\/webSearch?appid=YahooDemo &amp;query=persimmon&amp;results=2&#8243;;var xmlhttp = null;if (window.XMLHttpRequest) {xmlhttp = new XMLHttpRequest();if ( typeof xmlhttp.overrideMimeType != &#8216;undefined&#8217;) {xm<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/0bfd968d5de8f3c691004c423aae0f8f?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nimgr8<br \/>\njavascript feed<br \/>\nIts a bit strange. I am making a bitly api call and it returns undefined for all the calls, but if I add an alert() right before I get the link variable, it returns the correct link. Now if I add the alert here :function getBitlyLink(){alert(bitlyLink);return bitlyLink; }I get the correct links and not undefined. What exactly is that alert box doing??<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/b4ae7f8b50a2c32287e456394570679e?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nMarc Gravell<br \/>\nbug status-completed feed<br \/>\nAn extraneous line feed at the start of the page has stopped the feeds working properly. For example, I put http:\/\/tex.stackexchange.com\/feeds into a Feed Validator and it shows:Sorry This feed does not validate.line 2, column 0: XML parsing error: &lt;unknown&gt;:2:0: xml declaration not at start of external entity [help]&lt;?xml version=&#8221;1.0&#8243; encoding=&#8221;utf-8&#8243;?&gt; Source: http:\/\/tex.stackexchange.com\/feeds1. 2. &lt;?xml version=&#8221;1.0&#8243; encoding=&#8221;utf-8&#8243;?&gt; This happened for a while last mont<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/457759d0b4c4ed025dfc0a200e007a02?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nppetree<br \/>\nfacebook-graph-api message feed<br \/>\nI have the read feed working and get back everything I should and it looks like the array listed below:My problem is that I want to retrieve the individual message. I&#8217;ve tried:\/\/ what I think should work &#8211; fails $msgData = $facebook-&gt;api(&#8220;\/$fb_id\/posts\/$msgToken&#8221;, &#8216;GET&#8217;, $parameters);\/\/ link in msg (below) but fb gives &#8220;unknown browser&#8221; error message $msgData = file_get_contents(&#8220;http:\/\/www.facebook.com\/$fb_id\/posts\/$msgToken&#8221;);\/\/ as per fb docs but this fails too&#8230; $msgData = file_get_cont<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/c6f33c297237b63f79920594931f5027?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nApemantus<br \/>\nfacebook-graph-api facebook-php-sdk feed facebook-timeline<br \/>\nInside the app, the app can post to people&#8217;s feed&#8217;s (\/me\/feed) so everyone can see Inside the app, the app can post to people&#8217;s feed and use privacy settings so it is only available to certain friendlists Outside the app (i.e. from a cron job run on our servers to \/USER_ID\/feed), we can post to people&#8217;s feeds so everyone can see However, we can&#8217;t seem to post outside the app using privacy settingsIt returns an unknown error message.The message we&#8217;re sending (outside the app is):[message] =&gt;<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/e2bf3540b54eb6ab924cc685ed317e40?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nEduard Luca<br \/>\nxml rss feed<br \/>\nI&#8217;m getting a very weird error when validating my RSS feed: XML parsing error: &lt;unknown&gt;:68:290: not well-formed (invalid token)The line where this error is reported is:&lt;description&gt;&lt;![CDATA[&lt;img src=&#8217;http:\/\/thumbnails.visually.netdna-cdn.com\/sustainability-at-the-idb_514334bc3b1b4_w300_h300.png&#8217;&gt;&lt;\/img&gt;&lt;br\/&gt;]]&gt; The IDB takes its commitment to responsible development in Latin America and the Caribbean seriously. Our approach to sustainability is twofold. We ma<\/li>\n<\/ul>\n<p id=\"rop\"><small>Originally posted 2014-01-02 10:49:16. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>Chuck Burgess apache cakephp rss crash feed When I put Router::parseExtensions(&#8216;rss&#8217;); to routes.php, Apache crashes. So i can&#8217;t make rss feed. Any ideas ?here is a screenshot[Sat Jan 05 13:02:35.131540 2013] [mpm_winnt:notice] [pid 1576:tid 252] AH00428: Parent: child process exited with status 3221225477 &#8212; Restarting. [Sat Jan 05 13:02:35.686942 2013] [ssl:warn] [pid 1576:tid 252] AH01873: [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2106","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/2106","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=2106"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/2106\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=2106"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=2106"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=2106"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}