Lee Willis
Forum Replies Created
-
Forum: Plugins
In reply to: [Plugin: Google XML Sitemaps] Google Webmaster ToolsYour sitemap looks absolutely fine – why do you think it doesn’t work.
Presumably you have a Google Webmasters account (www.google.com/webmasters) ? If so – does it report any errors under Site Configuration >> Sitemaps ?
Feel free to email me any errors to look at [junk (at) talpa (dot) plus (dot) com]
Forum: Fixing WordPress
In reply to: Filtering post_resultsI still think we’re at cross purposes?
My application already has the right pages available for, e.g.
https://www.myapp.com/shop/product1
https://www.myapp.com/shop/product2These pages work – and show the right content. (Essentially they’re both page id 19, but with a query arg) The problem comes because I’ve extended the site search by adding a filter to posts_results. This queries against my product description to find matching products, then tries to add these to the results array. All I can do though is add page id 19 to the array – there’s no way to add the fact that the matching page is (Page id 19 + query var with value “product1”) – or to add the correct permalink (Which I know at this point in my code).
The end result is that when the array is consumed by the theme code (Which calls the_post, the_permalink etc.) it spits out the default content for page 19 – not the individual products.
So the question isn’t about how to make query_args work for building an application – but how to pass them up the chain of posts_results when performing a search – make sense?
Forum: Fixing WordPress
In reply to: Filtering post_resultsErm, sort of. Query vars are already being used (Although they’re mapped to a permalink structure).
The problem is that I have one page (ID 19) that is used for the whole of my app – but I want SEARCHES to be able to return links direct into my app (E.g. to shop a specific product in an ecommerce app).
I can extend the list of matching search results by adding a filter to posts_results that searches my app’s tables and works out which products match – but I can’t find a way of specifying the permalink URL so that it knows that the match is PAGE ID 19 WITH A SPECIFIC SET OF QUERY VARS, not just PAGE ID 19.
I’m actually thinking it’s not possible – but that would be inconvenient to say the least ??
Forum: Plugins
In reply to: [Plugin: Google XML Sitemaps] Google Webmaster ToolsCan you post a link to your sitemap so we can see if the format is messed up?
Forum: Plugins
In reply to: [Plugin: WP Shopping Cart XML Sitemap] Soved a big probem for me!Great – glad you found it useful!
Forum: Plugins
In reply to: [Plugin: Google XML Sitemaps] Google Webmaster ToolsThe sitemap works fine for me – can you post a link to your actual sitemap so we can try and work out what the problem is?
Forum: Plugins
In reply to: Google XML Sitemaps with WP e-commerceJust to update – this is now available from the WordPress Plugin Directory at https://www.ads-software.com/extend/plugins/wp-e-commerce-xml-sitemap/
I’d suggest anyone install that one to keep notified of updates etc.
@salsichad2 – If you’re still having problems feel free to get in touch via my blog (https://www.leewillis.co.uk) and we can try and work through it.
@mufasa – not sure if you’re planning on including this functionality in wp-e-commerce direct or not? Or just planning on linking to it as a companion plugin?
Forum: Plugins
In reply to: [Plugin: Google XML Sitemaps] check your code!You get what you pay for – now stop being so grumpy, ask nicely, and someone might be inclined to fix it for you …
Forum: Requests and Feedback
In reply to: [Plugin: Google XML Sitemaps] Custom Taxonomies SupportHi Arnee – one of your changes broke modification times – it only shows the modification time for the most recently updated term within a taxonomy.
Fortunately the fix is simple – just add the following to the end of the $lastMods query on line 2198:
“GROUP BY r.term_taxonomy_id”
3.1.8 here we come ??
Forum: Plugins
In reply to: [Plugin: Google XML Sitemaps] Rebuilding sitemap via another plugin> at the moment ??
Being able to trigger a sitemap rebuild from other plugins is a great feature – whatever you do please make this functionality still be available ??
Forum: Plugins
In reply to: Google XML Sitemaps with WP e-commerceOK – what version of wp-e-commerce are you running? & have you tried manually rebuilding the sitemap since you added my plugin?
Forum: Plugins
In reply to: [Plugin: Google XML Sitemaps] Rebuilding sitemap via another pluginWhat about:
` if(GoogleSitemapGeneratorLoader::LoadPlugin()) {
$gs = GoogleSitemapGenerator::GetInstance();
$gs->CheckForAutoBuild();
}Would that work?
Forum: Plugins
In reply to: Google XML Sitemaps with WP e-commerceHmm. I’ve never used it under WordPress MU – but I’m not doing anything complicated I wouldn’t have thought.
Can you confirm that:
– You’ve got version 0.3 of the plugin
– You’ve got “Rebuild sitemap if you change the content of your blog” selected in the XML Sitemap generator settingsAlso be aware that quite often the sitemap isn’t re-generated immediately – it might take a few minutes before it’s rebuilt – especially if you’ve got “Build the sitemap in a background process (You don’t have to wait when you save a post)” selected.
Have you got a link to your sitemap?
Forum: Plugins
In reply to: Google XML Sitemaps with WP e-commerceI’ve just uploaded a new version which should automatically trigger a rebuild whenever a product is added or updated.
I’d like to do the same or categories, but I don’t think wp-e-commerce has the right hooks. I need to do some digging to work out where they should go (Also when products are removed).
If you have any comments / issues please get in touch via my blog (https://www.leewillis.co.uk) as I’ll notice an email quicker than a post on here ??
Thanks for the interest.
Forum: Plugins
In reply to: Google XML Sitemaps with WP e-commerceMy Plugin only adds products / categories to the sitemap generated by the Google XML Sitemaps plugin (https://www.ads-software.com/extend/plugins/google-sitemap-generator/) so you’ll need that installed too.
Currently it doesn’t re-generate / re-submit the sitemap when products / categories are added – I’ll look into that now ??