Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: RSS Feed Links not going to article

  1. #1
    datatoo is offline Member
    Join Date
    Jan 2010
    Posts
    11

    Default RSS Feed Links not going to article

    Was excited to see this module and the preview of content, but the links all go to the sugar site I have it installed in, rather than the external link where the article is.
    Where should I be looking to try to correct that?

  2. #2
    jmertic is offline Sugar Community Manager
    Join Date
    Dec 2007
    Posts
    2,224

    Default Re: RSS Feed Links not going to article

    Are you referring to the built-in RSS reader Dashlet or some other module?

  3. #3
    datatoo is offline Member
    Join Date
    Jan 2010
    Posts
    11

    Default Re: RSS Feed Links not going to article

    Yes the built-in module, sorry to not be clearer

  4. #4
    jmertic is offline Sugar Community Manager
    Join Date
    Dec 2007
    Posts
    2,224

    Default Re: RSS Feed Links not going to article

    Are you speaking of the module or the dashlet? The module was removed back in Sugar 5.5 and is no longer supported.

    If you want, please add in a screenshot. Thanks!

  5. #5
    datatoo is offline Member
    Join Date
    Jan 2010
    Posts
    11

    Default Re: RSS Feed Links not going to article

    I guess it is a dashlet, I apologize once again for getting it wrong

  6. #6
    jmertic is offline Sugar Community Manager
    Join Date
    Dec 2007
    Posts
    2,224

    Default Re: RSS Feed Links not going to article

    What is the URL of the RSS feed you are loading?

  7. #7
    sallyliao is offline Junior Member
    Join Date
    May 2011
    Posts
    3

    Default Re: RSS Feed Links not going to article

    The module was removed back in Sugar 5.5 and is no longer supported.

    If you want, please add in a screenshot. Thanks!
    Reply With Quote

  8. #8
    datatoo is offline Member
    Join Date
    Jan 2010
    Posts
    11

    Default Re: RSS Feed Links not going to article

    http://sethgodin.typepad.com/seths_blog/atom.xml is the rss url which works in every respsect but the external link. which leads me to beileve my sugar instance is creating the link incorrectly

  9. #9
    jmertic is offline Sugar Community Manager
    Join Date
    Dec 2007
    Posts
    2,224

    Default Re: RSS Feed Links not going to article

    Yes, Sugar is creating the link incorrectly. Can you add a bug for this at http://bugs.sugarcrm.com and let me know what the bug # is?

    The fix should be to change this code block in modules/Home/Dashlets/RSSDashlet/RSSDashlet.php from:

    PHP Code:
    foreach ( $rssdoc->entry as $entry ) {
                   
    $output .= <<<EOHTML
    <tr>
    <td>
        <h3><a href="
    {$entry->link}" target="_child">{$entry->title}</a></h3>
        
    {$entry->summary}
    </td>
    </tr>
    EOHTML; 
    to

    PHP Code:
    foreach ( $rssdoc->entry as $entry ) {
                    
    $link trim($entry->link);
                    if ( empty(
    $link) ) {
                        
    $link $entry->link[0]['href'];
                    }
                    
    $output .= <<<EOHTML
    <tr>
    <td>
        <h3><a href="
    {$link}" target="_child">{$entry->title}</a></h3>
        
    {$entry->summary}
    </td>
    </tr>
    EOHTML; 
    Thanks!

  10. #10
    datatoo is offline Member
    Join Date
    Jan 2010
    Posts
    11

    Default Re: RSS Feed Links not going to article

    I tried this, and the home tab ends up blank for this user after refreshing the page. I thought this might be related to the url perhaps being wrong, restoring from backup is all that would work. Restoring the file to the previous code and running repair on dashlets doesn't work either. Is it possibly storing something in a table that is not correct, if so, I don't know what table to look in.
    Appreciate the help. Somehow even restoring the file doesn't fix it, that is why I suspect the table has a problem.
    Any ideas?

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 0
    Last Post: 2011-01-28, 05:20 AM
  2. Web-to-lead Email alert KB article
    By TheChef in forum SugarWiki Discussion Forum
    Replies: 2
    Last Post: 2010-01-26, 03:59 PM
  3. Replies: 0
    Last Post: 2007-04-17, 07:40 PM
  4. Article administration
    By sbernd in forum Feature Requests
    Replies: 0
    Last Post: 2005-03-19, 09:12 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •