This issue evolved out of #316019: Add source feed title to theming, which resulted in two patches that I realized should go two different ways. One of them ended up here.

Currently the Aggregator module does not present any information about the source feed when presenting a category aggregator. I hereby propose a small patch (against 7.x-dev) that will present this information.

This patch is dependent on #324077: Source feed missing in Aggregator theme function. Until that one is accepted this issue is postponed.

Comments

AntiNSA’s picture

Can you tell me how to make this work? I want to use it and dont know how to implement it/.

THanks

ztyx’s picture

StatusFileSize
new62.84 KB

Sure! Have you ever applied a patch before? If not, read documentation on how to apply patches. There is also some information available here.

To be able to show the source feed title you got to send the title to the theme function theme_aggregator_block_item(), which is used to print out each feed in the listing. That is exactly what the patch in #324077: Source feed missing in Aggregator theme function does. The feed title is then referred to as $item->ftitle in the theme function.

The patch in this issue (and its equivalent for Drupal 6) only print out the title by default (see attached screenshot) and can (and should probably) be done by implementing your own theme function for your theme.

Also, note that while this will solve your desire to add the feed title to your theme, you will have to apply this patch every time you upgrade Drupal until it is added to core. This is one of the reasons why you normally should not hack core [2].

Did this help? Please report back if you can confirm that the patch is working as expected.

AntiNSA’s picture

Thank you for your reply! it is in my que of things to do. As soon as I can get a chance I will try it and tell you how it works. Thanks!

Jooblay.net’s picture

Issue summary: View changes

What is the status of this ticket:) Can we close this...

Status: Postponed » Closed (outdated)

Automatically closed because Drupal 7 security and bugfix support has ended as of 5 January 2025. If the issue verifiably applies to later versions, please reopen with details and update the version.