We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Magpie stopped working once index.php removed

Development and Programming

Deelicious's avatar
Deelicious
86 posts
16 years ago
Deelicious's avatar Deelicious

I recently had a client ask for shorter URLs which lead me to remove the index.php from the URL using the “Include” List Method described in the Wiki.

The site functions correctly, except the Magpie feed which was displaying correctly before the update now does not work.

This is the current Magpie code used on the homepage:

{exp:char_limit total="400"}
{exp:magpie url="http://www.dvideography.com/blog/atom.xml" limit="1" refresh="1" parse=“inward”}
{items}
<h3><a href="http://{link}">{title}</a></h3>
{content}
{/items}
{/exp:magpie}
{/exp:char_limit}

The blog is from Google Blogger and is located at www.dvideography.com/blog. I’m wondering if this URL is interfering, even though I did not include the word “blog” in my .htaccess file and do not have a template named “blog”.

Any help would be greatly appreciated. Thanks!

       
Marcus Hodges's avatar
Marcus Hodges
84 posts
16 years ago
Marcus Hodges's avatar Marcus Hodges

Has anyone ever looked into this. I think I’m getting the same (or at least a similar) issue.

I have Magpie installed at my EE installation, currently at http://www.recycled-energy.com/ee_temp/ (this directory is password protected, but nothing much to see). It works if I use the EE feed to test (http://expressionengine.com/feeds/rss/full/), but not the blog currently installed on this server (non-EE, http://blog.recycled-energy.com/feed/). I can view that feed in my browser or feed-reader software, so I know the feed is working.

When I reference the feed I want to see, I get no results - it doesn’t appear to loop through the “items” at all. There is no trace of the result in the source.

Here is my Magpie code (fairly standard):

{exp:magpie url="http://expressionengine.com/feeds/rss/full/" limit="2" refresh="720"}
{magpie:items}
{magpie:title}. <a href="http://{magpie:link}" title="{magpie:title}">Read more</a>
{/magpie:items}
{/exp:magpie}

And here is my .htaccess code:

RewriteEngine on
RewriteCond $1 !^(images|system|themes|js|index\.php|admin\.php) [NC]
RewriteRule ^(.*)$ /ee_temp/index.php/$1 [L]

Anyone have any ideas?

       
Marcus Hodges's avatar
Marcus Hodges
84 posts
16 years ago
Marcus Hodges's avatar Marcus Hodges

Has anyone had a chance to give this a look? Am I okay to piggyback on this thread or should I start a new one? Is this the right forum category?

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.