Hi Arnie, this is possible with the development version.
Download it from http://wordpress.org/plugins/xml-sitemap-feed/developers/ and upload via FTP, overwriting the current version on your site.
You will see a new option to limit news posts to certain categories. That’s not exactly the same as exluding a particular category but still, by including all others you get the same result π
Hi RavanH thanks. I tried and am getting this error
http://www.extremeta.com/sitemap-news.xml
Swapnil
Did you upload all the files? There seem to be missing three .xsl stylesheets in the http://www.extremeta.com/wp-content/plugins/xml-sitemap-feed/includes/xsl/ directory. Or is there something blocking direct requests to files in the plugin directories for any files except js and css, like a security plugin maybe?
Thanks. Something was breaking it. I removed all plugins and then reinstalled. When I activated it I got this error. But after reloading the page it worked.
Warning: strip_tags() expects parameter 1 to be string, array given in /home/extreme2/public_html/wp-content/plugins/xml-sitemap-feed/includes/admin.php on line 717
Warning: Cannot modify header information – headers already sent by (output started at /home/extreme2/public_html/wp-content/plugins/xml-sitemap-feed/includes/admin.php:717) in /home/extreme2/public_html/wp-includes/pluggable.php on line 875
The site above is a test site, but I am planning to use it on production site Muktware.com. Any caveats?
Thanks
Strange… I cannot reproduce the error. Did you set any external sitemaps at ‘Include custom XML Sitemaps’? If so, could you remove them again? If not, could you try setting a fictive (it does not have to exist) external sitemap there? Then save again to see if the error persists…
IF that does not change anything, could you try disabling the plugin (not removing it!) and re-enabling again? It will reset all your sitemap plugin settings which might resolve the warning message.
I tried on two dirrent sites and had the same issue. I can try it on a test fresh install. BTW, it’s working fine except for that error. Great job. Will make donation π
Could you try the new dev version? I included an extra check that should prevent the warning…
Please let me know and thanks for reporting it π
Hi, I had the same need to eliminate categories from my google news sitemap. I downloaded and installed the developers version of the plugin. I selected only the categories that I want but they still seem to show up in the sitemap after I rebuild it.
What should I look for to fix this?
Thanks
Hi,
I installed the dev version and it shows ONLY the ones that I selected. So it’s working fine at my end. @sitebizniz are you talking about newsxml or just site xml?
News. I think I found the problem. Another plugin was overwriting the sitemap. thanks for your quick response.
Hi,
arnieswap, RavanH, what version are you talking about? I’m using 4.3.2 and I’m not sure you talk about this one,
thanks, I’ve the same need
Davide
@davide – you can download the current development version from http://wordpress.org/plugins/xml-sitemap-feed/developers/ (under Other Versions)
Thank you for adding feature this to the developer version. I have some feedback:
I find it is easier to omit vs. include especially when you just want to exclude one category. Authors may create a new category on the blog and then it doesn’t get included in the feed because you have to make sure that the new category is highlighted in the feed settings when the new category is created.
The development version works well
@papayainternet, thanks for your thoughts. It makes sense but the same can be said for the reverse case. I planned to actually offer both (either include or exclude selected categories) but have not had time to implement that π
@jack.cronfield, thank for the feedback!