archon810
Forum Replies Created
-
I have a similar request, I think – is it possible to detect the manual excerpts (such as ones using <!–more–> from http://codex.wordpress.org/Customizing_the_Read_More) and still output whatever the Read More option outputs? Otherwise, for content with custom excerpts, we end up without the Read More link at all.
Thank you.
/sigh
Forum: Plugins
In reply to: [Plugin: Google XML Sitemaps] Request for a new hookOfer, I just added do_action(‘sm_addurl’,&$page); to the latest trunk of google sitemaps plugin (at the end of AddUrl), wiped the previous sitemaps, and re-created but didn’t find any of the /ru/ posts that are present, i.e. the sitemap is missing translated entries.
Any ideas?
I’m using svn trunk versions of both plugins.
Forum: Plugins
In reply to: [Plugin: Google XML Sitemaps] Request for a new hookDid you guys ever agree on something? I’m looking for this feature.
Ofer, can I just add that line to the google sitemaps plugin as you said for now?
OK, after playing around some more, I discovered that the option started working. I’ve experienced the problem on 2 different installations, so I’ve concluded that the problem only shows its face the very first time you install the plugin.
I ended up doing a quick fix myself. In fact, I don’t know why it would rewrite the subdomain in the first place. Maybe you can incorporate this into trunk if you get a chance.
svn diff Index: amazon_associate_filter.php =================================================================== --- amazon_associate_filter.php (revision 185613) +++ amazon_associate_filter.php (working copy) @@ -34,8 +34,8 @@ $affiliate_code=get_option('amazon_associate_filter_id'); $content=preg_replace( - '/http:\/\/[^>]*?amazon.([^\/]*)\/([^>]*?ASIN|gp\/product|exec\/obidos\/tg\/detail\/-|[^>]*?dp)\/([0-9a-zA-Z]{10})[a-zA-Z0-9#\/\*\-\?\&\%\=\,\._;]*/i', - 'http://www.amazon.$1/dp/$3/?tag='.$affiliate_code, + '/http:\/\/([^>]*?amazon.)([^\/]*)\/([^>]*?ASIN|gp\/product|exec\/obidos\/tg\/detail\/-|[^>]*?dp)\/([0-9a-zA-Z]{10})[a-zA-Z0-9#\/\*\-\?\&\%\=\,\._;]*/i', + 'http://$1$2/dp/$4/?tag='.$affiliate_code, $content ); return $content;The problem with this approach is that then I lose the topic of the email (the value before the | symbol). If you could add that as another tag somehow, then it would be a perfect solution.
Thank you.
Forum: Plugins
In reply to: [SEO Smart Links] problem with using h2 tagI just spent about half an hour figuring out what is causing the issue and arrived at the same conclusion. It’s the “Prevent linking in heading tags (h1,h2,h3,h4,h5,h6).” option that is doing it with double quotes.
Could you please push the fix to trunk?
Btw, I tried a similar fix for fixing #firstcategory# and it didn’t seem to work – my test tweet posted without the category. I’ll poke around the code some more to see what the problem is but it’s disappointing to see the plugin unsupported.
Thanks. I feel like this is a bit of a hack and we should try to get the developer to notice and post a proper fix.
Can you resolve this topic please?
Forum: Plugins
In reply to: [Plugin: SEO Smart Links] Custom keywords break existing <a> tagsJust reproed the cluster&@*$:
EVO 4G is a keyword entered in the plugin.
The original HTML is:
<li>Select the EVO 4G and <em>Buy with new plan</em>: <br /><a href="http://www.androidpolice.com/wp-content/uploads/2010/06/image155.png"><em><img style="display: inline" title="[Secret Deal] Get The HTC EVO 4G From Sprint.com For $150 ($50 Off)" alt="[Secret Deal] Get The HTC EVO 4G From Sprint.com For $150 ($50 Off)" src="http://www.androidpolice.com/wp-content/uploads/2010/06/image_thumb156.png" width="325" height="151" /></em></a><em> </em></li>The plugin turns it into:
<li>Select the EVO 4G and <em>Buy with new plan</em>: <br /><a href="http://www.androidpolice.com/wp-content/uploads/2010/06/image155.png"><em><img style="display: inline" title="[Secret Deal] Get The <a title=" htc evo href="http://www.dpbolvw.net/sq112efolfn26C3849B243A965A8?sid=ap">HTC EVO 4G</em></a> From Sprint.com For $150 ($50 Off)" alt="[Secret Deal] Get The HTC EVO 4G From Sprint.com For $150 ($50 Off)" src="http://www.androidpolice.com/wp-content/uploads/2010/06/image_thumb156.png" width="325" height="151" /><em> </em> </li>So basically it’s transforming the title attribute as well, which it shouldn’t do (Windows Live Writer adds a title element automatically when you add an alt).
Forum: Plugins
In reply to: [Plugin: SEO Smart Links] Custom keywords break existing <a> tagsThanks :]
I actually had a related bug, which was much nastier. I don’t remember exact specifics but it had to do with square brackets [] being in the alt or title params of an hyperlinked image, and if one of custom keywords was also part of the alt/title. The mayhem produced by this spews out half-broken HTML code onto the page as text.
If you can’t repro this, ping me please and I’ll make a definitive test case.
Thanks.
Forum: Plugins
In reply to: Can WP-Polls Plugin be exploited?Excellent choice :-]
Forum: Plugins
In reply to: Can WP-Polls Plugin be exploited?Perhaps at least provide an option for the users to select? I see what you’ve done this, Lester, but this opens up an opportunity to easily spoof any number of votes and abandons any credibility.
How do the big poll sites handle it? I think I’d prefer seeing some users unable to vote than have users voting 1000x times.