Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
One of the feeds I get has incorrect titles for the entries. The title for the feed is getting appended to the title of each entry i.e. "Gurnee code update could mandate fire sprinklers in new homesGoogle Alerts - Gurnee". The last part (Google Alerts - Gurnee) is the title of the source, which gets appended to the earlier set title. I have attached a patch the does nothing with the 'title' tag if it is in a 'source' tag.
Comment | File | Size | Author |
---|---|---|---|
#5 | drupal-incorrect-titles-1518246-5.patch | 1.02 KB | eloivaque |
#2 | drupal-title_fix.patch | 1.11 KB | bjorgensen |
drupal-title_fix.patch | 1.13 KB | bjorgensen | |
Comments
Comment #2
bjorgensen CreditAttribution: bjorgensen commentedtake 2: fixed the .patch
Comment #3
edvanleeuwenTested and verified.
Comment #4
ParisLiakos CreditAttribution: ParisLiakos commentedshould go in 8.x first..also patch contains tabs instead of spaces per coding standards
Comment #5
eloivaqueI apply coding standards of patch #2 and tested. It's works for me.
Comment #6
ParisLiakos CreditAttribution: ParisLiakos commentedComment #8
ParisLiakos CreditAttribution: ParisLiakos commentedparsing was switched to zend feed, probably not an issue now