Elcan Software

Small software, big solutions.

Home arrow Support Forum
Support Forum
Welcome, Guest
Please Login or Register.    Lost Password?
Remove Title & Author Repeat in Google Text (1 viewing) (1) Guest
Requests for feed2post
Go to bottom Post Reply Favoured: 0
TOPIC: Remove Title & Author Repeat in Google Text
#758
Sept_de_Neuf (User)
Fresh Boarder
Posts: 10
graphgraph
User Offline Click here to see the profile of this user
Remove Title & Author Repeat in Google Text 3 Months, 4 Weeks ago Karma: 1  
Google's RSS feeds Title has the title and the author of the feed. However, the introtext and fulltext repeats this information. So it looks like the following:

TITLE - AUTHOR

TITLE (link)
AUTHOR and DATE
introtext.


It should be:

TITLE - AUTHOR

introtext.


I also don't like having the original link in the introtext since it also goes to the original without a target _blank which forces the user to lose the url of my site from which they came from.

When showing these in an article format it looks really redundant and I was wondering if it would be possible to remove this repetition and link if the url includes the word google?

I have found an example from another cms I was using in the past and the code to achieve this is:

Code:

// Clean up Googles Description if (strpos(strtolower($feedsource), 'google') !== false) { $newdescription = explode('<br>', $rssdescription); $rssdescription = (strlen($newdescription[3]) > strlen($newdescription[4])) ? $newdescription[3] : $newdescription[4]; }
I guess the idea is that if the url or feed source is Google, to remove the text and links before the two <br> tags at the top of the description. Maybe with your expertise, you can adapt this code in Feed2Post. If you would like to see the full module, please let me know and I will send you a zip file.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
      Topics Author Date
    thread link
Remove Title & Author Repeat in Google Text
Sept_de_Neuf 2008/07/25 14:29
    thread link
thread linkthread link Re:Remove Title & Author Repeat in Google Text
movilla 2008/08/05 14:06
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop

Sponsors

Your Ad Here
Joomla Templates by Joomlashack