Flagging Drupal Planet

A little over a year ago I blogged about moving to using a Drupal Planet tag to determine which posts about Drupal get posted on Drupal Planet. This is certainly better than having every Drupal related post appear in Drupal Planet. Why not send everything? Well there are a number of smaller posts that don't need to land in the hundreds of RSS inboxes around the globe but should still appear on my site.
However, the separate tag method has its drawbacks. For one thing it means my site now has, by default, two pages of Drupal posts. One contains all the posts and the other just those that went to Drupal Planet. Visitors to my site, however, don't need to see this distinction. In fact they are put off by it because it's a nonsensical differentiation for these visitors. Even somebody following a link from Drupal Planet is left with just a few posts and might not find some other smaller posts that could be helpful.
Given that the ability to post content and selectively send it to Drupal Planet is important and that I'd like to do so without hindering the usability of my website what's the solution. In true Drupal fashion there's a module for that. In this case it's the Flag module to be precise. Here's a quick look at this simple setup.
After installing and enabling the Flag module the next step is to create a Drupal Planet flag. Adding a flag starts with visiting Administration >> Site Building >> Flags >> Add (/admin/build/flags/add) on the site.
A couple of settings are key to making the Drupal Planet flag work well. First it should be a "Global" flag meaning that each node is either flagged or not and individual users can't set the flag differently on each node.
Related Content
AcquiaBlog

2010 has been an inflection point for the Acquia partner program. We are doing more business than ever with partners, including case studies with Palantir.net, Blink Reaction, and IBM Global Services.
Bryan House
It is that phase of my life! I'm just turning 30 in a month, working with Drupal for 7 years and just had my third Acquia anniversary a week ago. Time to look back and evaluate how things went, all the good and bad things; even better if the wisdom can be shared with others. This was part of my thinking when I submitted the session titled "Come for the software, stay for the community" for Drupalcon Copenhagen.
Gábor Hojtsy
It sounded like a really simple request: "Is it easy to add a search filter for 'My posts'?". In other words, add a search result facet for posts by the current (logged in) user through the Apache Solr Search Integration module APIs?
But then the wheels start turning - we want not just one blind link, but a real facet link that tells us how many results we'll get. Also, if we are filtering by 'My posts' then we probably have an equal use case for the opposite filter 'Posts not by me'. So we really need a facet block with two links and facets counts.
Peter Wolanin






