Erik
Forum Replies Created
-
Forum: Plugins
In reply to: [WP-PostRatings] Page is broken when post excerpt contain any HTML tagAhem… the tags described above is not closed.
They should either be “<meta … />” or <meta …></meta>“
Just something I couldn’t keep from commenting…
P.s. my allowed max limit was 90mb… should work for almost any scenarios, one should think… D.s.
That’s just it.
I’m using the “Confirm checkbox” option. It has only one check box (verifying that I’m “of age”).
When using the option when I give my birth date, the “remember me” function seems to work.
It seems the problem is with the “Confirm checkbox” option?
Forum: Plugins
In reply to: [Faceted Search Widget] Trashes the rest of the widget areawhen I click on “Category” — is supposed to be, when I click on a category…
…and of course the “Woo Commerce”-page is left after uninstallation… poor form!
Forum: Plugins
In reply to: [WP-o-Matic] Incorrect handling of ampersands (&)?I worked around this limitation by creating a php-file (on the server, web accessible) with the following code:
<?php echo file_get_contents( 'https://url-for-rss-feed1?with&ersands&other-unsupported&characters' ); ?>
I named the file something like
feed1.php
and then I used the URL of the file in WP-o-Matic instead of the original feed url.This is a workaround, but it makes otherwise inaccessible feeds work in WP-o-Matic.
Forum: Plugins
In reply to: [WP-o-Matic] Does it updates a post when the source gets updated?Aha. I stand corrected then. Haven’t looked at that plugin.
Forum: Plugins
In reply to: [WP-o-Matic] Wp-o-matic on 3.5I’ve made it work, but you could say it has a personality. A bunch of things like urls with ampersands, and multisite + cron seems to not work. (Neither of these are show stoppers, just requires some working around, like using FeedBurner, or create a local Php that simply displays the feed etc).
I’d say, yes, it works on 3.5.1.
Forum: Plugins
In reply to: [WP-o-Matic] Does it updates a post when the source gets updated?Sorry, RSS Importer does not do what you want!
You should use “WP RSS Multi Importer” instead. It has an option for just displaying items.
“WP RSS Multi Importer” has an option to import items as well but it still does not update them once they are imported.
I think almost all RSS plug-ins out there either assumes you only show the items or that you import them once and for all and then they aren’t updated again.
Forum: Plugins
In reply to: [WP-o-Matic] Does it updates a post when the source gets updated?As far as I’ve seen, WP-o-Matic does not update posts after they have been created. Instead you have to delete the posts (which may be achieved through the “tools” section of each campaign).
Unfortunately you then have to remove and re add the feed in order for WP-o-Matic to re read the items again. It seems the “Reset” link does something else than resetting the feed in that aspect.
How about an approach where the RSS items are never actually imported into WP, but only displayed? This should make them update if the feed is updated. There are a number of plug-ins for that (e.g. “Syndicate Press” and “RSS Importer”).
I have noticed the same problem with links that (amazingly enough) contains single quotes (
'
). The same thing as danbradster has noticed happens in the link.For the link, the solution is to use urlencoding so that a single quote becomes “
%27
“However for the onClick, I’d suggest calling a javascript function instead. e.g
onclick="setTextFor(this.innerHTML)"
– there can still be no single quotes in the method call so each message you’d want to set would have to have its own function.The incorrect handling of the single quote is, however, still a bug!
Forum: Plugins
In reply to: [WP-o-Matic] Incorrect handling of ampersands (&)?I managed to solve this problem by running the feed through FeedBurner (which, incidentally does not use the query string – i.e. ? and & chars).
The problem with the ampersands does remain, but this is a fix for now (although I am not that fond of feeding my RSS to the Google monster … I don’t know where they’ll put the info next… in my mail?)
Forum: Plugins
In reply to: [WP-o-Matic] Setting SimplePie user agentThe problems I’ve had did not depend on how to set the user agent (at least not only).
However this can be done (for
SimplePie
) setting the user_agent variable in php.ini, phprc or .htaccess.The problem with WP-o-Matic’s implementation (or if it’s SimplePie’s) is that you seem to have to create the SimplePie-class with the URL as an argument in order for the system to pick up the changed user_agent string setting.
As things stand now, you cannot change the user_agent setting and make WP-o-Matic use it.
I solved this by adding a manual user agent string in the part of
wp-o-matic/wpomatic.php
that creates theSimplePie
class.I did this by adding the following statement after the
$feed
variable had been created. I also allowed for the URL to be set to be on the safe side (meaning I added the line after the$feed->set_feed_url($url);
).This is the line I added:
$feed->set_useragent('Mozilla/6.0 (Windows NT 6.2; WOW64; rv:16.0.1) Gecko/20121011 Firefox/16.0.1');
Some RSS freeds will still fail (due to a bug that makes WP-o-Matic handle ampersands
&
incorrectly)… – see my post about that…Forum: Plugins
In reply to: [WP-o-Matic] Setting SimplePie user agentI looked in the code for SimplePie and noticed the constructor of the SimplePie class
Sorry about this, it wasn’t the SimplePie class but the SimplePie_File class…
Forum: Plugins
In reply to: [WP-o-Matic] remove smileysHave you tried the “Rewrite” options? That’s how I’d try to do it…