Forums

RSS Footer Hack (8 posts)

  1. jcowdrey
    Member
    Posted 3 years ago #

    Anyone have a clue as to how I could add a time stamp to the end of each RSS post in my blog feed?

    Alternatively, a adding a random string of characters would work as well.

    Thanks!

  2. whooami
    Member
    Posted 3 years ago #

    I dont know what an RSS post is, what do you mean? Can you provide an example of what you are talking about?

    Do you want each post to have a unique string, only when viewing the feed, or what?

  3. jcowdrey
    Member
    Posted 3 years ago #

    Thanks whooami,

    Yes...that's exactly what I want. A unique string of characters appended to the end of each post only when viewing the feed.

    Updates are automatically posted to my blog whenever a new real estate listing comes onto the market. The problem is that it's always an identical post, and I have the feed being "fed" to Twitter. The reason I need the random content is to make each post seem unique. Twitter has a problem with posting identical content apparently.

  4. Random... that might be a problem. Also each post should already be unique or what's the point of blogging?

    Give this ©Feed plugin a look and see if you can use it. It's really for copyright and content theft but maybe it will do what you need.

  5. jcowdrey
    Member
    Posted 3 years ago #

    It's not blogging in the traditional sense. It's an automated way of saying "hey folks, there's a new listing available - go to my website for the details", and my link is added as well...through Twitter.

    It's the same message and the same link, but Twitter has an issue with that. Adding a time stamp would work, so I may need to see if I can hack that in somehow.

    I'll see if there's a way I can use the plugin you mentioned. If you have any other ideas, let me know.

    Thanks!

  6. Last idea: http://twitterfeed.com/ which while not exactly the same, might work for you.

  7. jcowdrey
    Member
    Posted 3 years ago #

    Ok. I thought a bit more about this, and I think I need to add a random string to the end of an incoming "post-by-email".

    So I can make the change to wp-mail.php, and add this php code which will be random in seconds: <?php print date("U"); ?>

    Any idea where in wp-mail.php I would add this? I'm looking now as well.

    Thanks again for all your help!

  8. jcowdrey
    Member
    Posted 3 years ago #

    Jdembowski I'm using Twitterfeed to feed the RSS into Twitter. But Twitter won't post identical content.

    I think the hack I mentioned a moment ago will work by adding the random string to the incoming post. I just have to figure out where to put it in mail.php.

    Thanks again!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags