WordPress.org

Ready to get started?Download WordPress

Forums

removing "posted" text under title link in email version of feed (3 posts)

  1. paxtonsgate
    Member
    Posted 2 years ago #

    I use an event calendar made by Helios on my website http://www.ecoanchornyc.com and edited its RSS feed. I deleted the line:

    <pubDate>'.cleanXMLChars(stampToDate($row[3].' '.$row[4], "%a, %d %b
    %Y %H:%M:%S").' '.$tzRSS).'</pubDate>

    from the calendar's files:

    /rss/custom.php
    /rss/index.php
    /rss/l.php

    The pubDate disappeared from the event calendar RSS feeds but affected the main RSS feed of the website.

    The pubDate no longer appears when viewing this second feed in a
    reader. I don't mind this however when viewing this main feed as an
    email via feedburner I now have "Posted" appearing under my titles
    without the date. I'd like to delete this text to keep the feed layout consisted.

    _________

    Here is an example of the issue:

    International Energy Agency Bombshell: Warns World Headed For
    Irreversible Climate Change In Five Years (LINK)

    Posted:

    The world is locking itself into an unsustainable energy future which
    would have far-reaching consequences, IEA warns in its latest World
    Energy Outlook Without a bold change of policy direction, the world
    will lock itself into an insecure, inefficient and high-carbon energy
    system, the International Energy Agency warned as it launched the 2011
    edition of [...] (DESCRIPTION)

    _________

    Could someone please forward me to the appropriate file that I would
    need to edit and how I would go about deleting this text. I'm not getting any response from my attempt to contact feedburner. Thanks so much.

  2. Marventus
    Member
    Posted 2 years ago #

    Hi,

    I looked at your RSS feed and that info:

    Posted: bla

    does not show on your regular posts.
    As for the plugin RSS feed, what is the code that comes before:

    <pubDate>bla

    ?

  3. paxtonsgate
    Member
    Posted 2 years ago #

    Thanks for looking into this.

    In all 3 files I edited in events calendar folder the line before the <pubDate> line I deleted is:

    echo "\n" . '<guid>' . CalRoot . '/index.php?com=detail&eID=' . $row[0] . '</guid>';

    the line after the <pubDate> line I deleted is:

    echo "\n" . '</item>';

    In my wordpress theme folder there is an rss.php file that I did not touch. This is probably the file for my site's main feed: http://ecoanchornyc.com/feed/rss/

    The issue with the text "posted" only appears when I receive an email update for my site's main feed via email, sent by feedburner.

    I don't know how to address this email issue b/c I don't know what file to edit and where it would be located. I'm also stumped how making these changes for my event feed would affect my main feed.
    Any advice would be much appreciated.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags