https://redmine.gc.cuny.edu/https://redmine.gc.cuny.edu/favicon.ico2012-06-19T18:50:08ZCUNY Graduate Center - Project Tracking SystemCUNY Academic Commons - Bug #1951: Check RSS feed of GCDI sitehttps://redmine.gc.cuny.edu/issues/1951?journal_id=75312012-06-19T18:50:08ZMatt Goldmattgold@gmail.com
<ul></ul><p>Just FYI, I've made Chris a watcher on this ticket.</p> CUNY Academic Commons - Bug #1951: Check RSS feed of GCDI sitehttps://redmine.gc.cuny.edu/issues/1951?journal_id=75542012-06-21T19:37:53ZBoone Gorgesboone@gorg.es
<ul><li><strong>Status</strong> changed from <i>Assigned</i> to <i>Reporter Feedback</i></li></ul><p>Chris - Can you provide more details on how it's not working? The feed appears mostly valid to me - the one warning being thrown by the validator has to do with iframes being included in the content.</p> CUNY Academic Commons - Bug #1951: Check RSS feed of GCDI sitehttps://redmine.gc.cuny.edu/issues/1951?journal_id=75732012-06-24T02:11:40ZChris Carusoccaruso@gc.cuny.edu
<ul></ul><p>Check out our sandbox site here: <a class="external" href="http://www.humanrightstech.org/sandbox/">http://www.humanrightstech.org/sandbox/</a> This is the test site for <a class="external" href="http://research.commons.gc.cuny.edu/">http://research.commons.gc.cuny.edu/</a>. I'm pulling in headlines from the various ARC project feeds with WP-RSSImport.</p>
<p>The <a class="external" href="http://gcdi.commons.gc.cuny.edu/feed/">http://gcdi.commons.gc.cuny.edu/feed/</a> feed is working better now than when I first reported the problem. It still does occasionally return a "No items, feed is empty." message, but is mostly working now.</p> CUNY Academic Commons - Bug #1951: Check RSS feed of GCDI sitehttps://redmine.gc.cuny.edu/issues/1951?journal_id=75842012-06-25T13:26:26ZBoone Gorgesboone@gorg.es
<ul></ul><p>Thanks for the additional details, Chris.</p>
<p>Given what you've described, one of two things are happening. (1) The plugin is unable to access the feed at all, either because of network issues (like maybe your sandbox is behind a particular kind of firewall) or because of hiccups on the Commons end. (2) Occasionally, an item moves through the GCDI feed with something like an <pre><iframe></pre> or some kind of invalid markup, which is, in turn, causing WP-RSSImport's feed parser to fail completely.</p>
<p>I'm testing out the WP-RSSImport widget on a Commons sandbox, and it seems to be parsing the feed items correctly from <a class="external" href="http://gcdi.commons.gc.cuny.edu/feed/">http://gcdi.commons.gc.cuny.edu/feed/</a>. So it's possible that you're using a particular configuration of the RSSImport widget that is surfacing the issue. But there are so many options on the widget that I don't want to try to guess which could be the culprit :)</p>
<p>Since your sandbox is not on the Commons, it's hard for me to do any live debugging in an environment that's demonstrating the problem. Can I ask you to create a new private site on the Commons, activate WP-RSSImport, and set up the GCDI feed widget in the same way you have it set up in the sandbox? (No need to worry about the theme or the rest of the configuration - I'm pretty certain that those things are not relevant.) Then, let me know whether your new sandbox is demonstrating the problem. If it is, then I can debug more effectively. And if not, we can check periodically to see if it does fail in the future, at which point I can dig in.</p>
<p>Thanks in advance for your help.</p> CUNY Academic Commons - Bug #1951: Check RSS feed of GCDI sitehttps://redmine.gc.cuny.edu/issues/1951?journal_id=75852012-06-25T13:28:51ZMatt Goldmattgold@gmail.com
<ul></ul><p>I agree that it would be best to have the sandbox install in the same environment as the production site. Thanks, Chris and Boone.</p> CUNY Academic Commons - Bug #1951: Check RSS feed of GCDI sitehttps://redmine.gc.cuny.edu/issues/1951?journal_id=75862012-06-25T13:33:42ZBoone Gorgesboone@gorg.es
<ul></ul><blockquote>
<p>I agree that it would be best to have the sandbox install in the same environment as the production site.</p>
</blockquote>
<p>I'm not really suggesting this - if Chris needs to be editing the theme and otherwise accessing the codebase, then it won't work to have the sole sandbox on the Commons. But for reasons such as the problem reported in this ticket, it's important to test in the production environment at at least some point in the process.</p> CUNY Academic Commons - Bug #1951: Check RSS feed of GCDI sitehttps://redmine.gc.cuny.edu/issues/1951?journal_id=75872012-06-25T13:44:55ZMatt Goldmattgold@gmail.com
<ul></ul><p>Good point.</p> CUNY Academic Commons - Bug #1951: Check RSS feed of GCDI sitehttps://redmine.gc.cuny.edu/issues/1951?journal_id=76192012-06-25T22:30:47ZChris Carusoccaruso@gc.cuny.edu
<ul></ul><p>Thanks, Boone. Makes sense. I set up a test page on the Commons here:</p>
<p><a class="external" href="http://chriscaruso.commons.gc.cuny.edu/2012/06/25/rss-test/">http://chriscaruso.commons.gc.cuny.edu/2012/06/25/rss-test/</a></p>
<p>And everything seems to work fine.</p>
<p>I wasn't able to do an ARC sandbox on the Commons because I needed the Advanced Excerpt plugin to be able to display RSS titles properly in the particular theme we are using for ARC. But you are right that the proper way to test the RSS feeds is on the Commons. So since this seems to work fine, I think we are all set to update to the new RSS features for the ARC page with the next Commons release.</p>
<p>Thanks again for your help.</p> CUNY Academic Commons - Bug #1951: Check RSS feed of GCDI sitehttps://redmine.gc.cuny.edu/issues/1951?journal_id=76202012-06-26T00:01:54ZBoone Gorgesboone@gorg.es
<ul><li><strong>Status</strong> changed from <i>Reporter Feedback</i> to <i>Rejected</i></li></ul><p>Hi Chris - Thanks very much for setting up that sandbox on the Commons. I'm still a bit unsure as to why it's not working on your dev environment, but I'm glad to see that it's working on the Commons! Let's keep an eye on this - feel free to reopen this ticket if the problem arises in the production environment.</p> CUNY Academic Commons - Bug #1951: Check RSS feed of GCDI sitehttps://redmine.gc.cuny.edu/issues/1951?journal_id=76242012-06-26T12:49:23ZMatt Goldmattgold@gmail.com
<ul></ul><p>Hi Chris,</p>
<p>Just FYI, the privacy setting on your Commons dev environment looks like it is set to fully public, so your blog feed is showing up on the home page of the Commons. If you choose any other privacy setting, it won't show up in the sitewide feed. Not a big deal, but just wanted to give you a heads-up.</p>
<p>Best,</p>
<p>Matt</p> CUNY Academic Commons - Bug #1951: Check RSS feed of GCDI sitehttps://redmine.gc.cuny.edu/issues/1951?journal_id=76252012-06-26T15:21:00ZChris Carusoccaruso@gc.cuny.edu
<ul></ul><p>Okay, thanks. I changed the privacy setting to 'admins only'.</p>
<p>Chris</p> CUNY Academic Commons - Bug #1951: Check RSS feed of GCDI sitehttps://redmine.gc.cuny.edu/issues/1951?journal_id=80122012-07-19T14:49:55ZChris Carusoccaruso@gc.cuny.edu
<ul></ul><p>I've incorporated the RSS feeds into the front page of the live ARC site here:</p>
<p><a class="external" href="http://research.commons.gc.cuny.edu/">http://research.commons.gc.cuny.edu/</a></p>
<p>And the GCDI RSS feed still has intermittent problems. It sometimes (but not always) produces the error "No items, feed is empty.…" instead of displaying the feeds. Usually a simple browser refresh solves the problem, but I have some concerns about first impressions. None of the other feeds I am pulling seem to be having problems. Thanks for any help.</p> CUNY Academic Commons - Bug #1951: Check RSS feed of GCDI sitehttps://redmine.gc.cuny.edu/issues/1951?journal_id=80192012-07-19T18:25:14ZBoone Gorgesboone@gorg.es
<ul><li><strong>Status</strong> changed from <i>Rejected</i> to <i>Reporter Feedback</i></li><li><strong>Target version</strong> changed from <i>1.3.15</i> to <i>1.3.17</i></li></ul><p>Hi Chris,</p>
<p>Thanks for the update. Having the problem reproduced on the Commons was very helpful.</p>
<p>I spent some time with RSSImport and found that the shortcode defaults to using a deprecated version of WordPress's RSS-parsing library. It appears as if performance is much better if you force the plugin to use the newer SimplePie instead. You can do that by adding the use_simplepie="1" attribute to the shortcode, like this:<br /><pre>
[RSSImport display="2" feedurl="http://gcdi.commons.gc.cuny.edu/feed/" use_simplepie="1"]
</pre></p>
<p>I did this for the GCDI feed, and it seems to do the trick quite nicely - I can't get it to reproduce the error anymore. Give it a try with the rest of the feeds, and let me know if you notice a difference.</p> CUNY Academic Commons - Bug #1951: Check RSS feed of GCDI sitehttps://redmine.gc.cuny.edu/issues/1951?journal_id=80212012-07-19T18:34:29ZMatt Goldmattgold@gmail.com
<ul></ul><p>Nice detective work, Boone -- many thanks.</p> CUNY Academic Commons - Bug #1951: Check RSS feed of GCDI sitehttps://redmine.gc.cuny.edu/issues/1951?journal_id=80232012-07-19T21:05:59ZChris Carusoccaruso@gc.cuny.edu
<ul></ul><p>Genius! Thanks so much. I've updated the other feeds as well.</p> CUNY Academic Commons - Bug #1951: Check RSS feed of GCDI sitehttps://redmine.gc.cuny.edu/issues/1951?journal_id=80292012-07-20T02:00:31ZBoone Gorgesboone@gorg.es
<ul><li><strong>Status</strong> changed from <i>Reporter Feedback</i> to <i>Resolved</i></li><li><strong>Target version</strong> changed from <i>1.3.17</i> to <i>Not tracked</i></li></ul><p>Excellent! I'm going to mark this Resolved. Chris, please let me know if you experience further problems.</p>