Here is a patch that lets you limit what gets into the google news feed by taxonomy terms. It let's you select which vocabulary to activate and then gives you either an autocomplete field (free-tagging) or a set of checkboxes.

This patch relies on #1265766: Move the pages into separate files being applied first.

I know that there is a plan to get this module integrated into xmlsitemap, but since #787578: Figure out how to handle the global 'type' context has stalled, I thought this could be a good stop-gap for some.

Comments

rwohleb’s picture

Status: Active » Needs review
StatusFileSize
new7.71 KB

Oops, here is the correct patch. The first has some bugs.

damienmckenna’s picture

Status: Needs review » Needs work

I think this is an incorrect approach to take. Some sites have tens of thousands of terms available, you wouldn't want to be displaying those on the settings page.

damienmckenna’s picture

It might be worth adding as something that is optionally enabled so the performance hit doesn't always overload the site.

Tschet’s picture

Issue summary: View changes
StatusFileSize
new9.25 KB

I needed this functionality for a project I'm working on. I ran the patches with some success. I had to clean up the code a little to get it to work. I made some minor adjustments that were necessary for the instances I will be using it in.

  1. If you choose a Vocabulary, but no terms, all nodes of selected node types, using any term in the vocabulary, will be selected.
  2. Updated the hook_uninstall to remove all googlenews variables generated by using the module.
Tschet’s picture

StatusFileSize
new9.25 KB

Of course as soon as I uploaded the patch, I found a typo in the autocomplete. This contains the fixed file.

damienmckenna’s picture

Status: Needs work » Closed (won't fix)
Related issues: +#2999866: Add option to allow a view to control the list

Going to put a huge "won't fix" on this. I've just committed #2999866: Add option to allow a view to control the list which lets you use a view to control the content that is selected. This would be a much better way of handling this request, which could get really complicated.