Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9251537
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T10:43:34+00:00 2026-06-18T10:43:34+00:00

I am using an RSS Feed and want to append the Date into the

  • 0

I am using an RSS Feed and want to append the Date into the description, obviously there are more than one date and description.

How can I prepend so that the dates are relative to the parent?

I have tried answers on here but can’t get them to work, beginner at JQuery.

So far I have

$('.RSSItem').each (function() { 
$('.Description').prepend($('.PubDate') ); 
});

HTML

<div class="RSSItem">
<div class="Description">
<div class="PubDate">Monday, 14 January 2013</div>
</div>

Each date needs to be moved into the Description, problem I am having is that all the dates for each RSSItem are showing for each RSSItem, I just want the one relevant to the RSSItem.

Any help gratefully received.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T10:43:36+00:00Added an answer on June 18, 2026 at 10:43 am

    Assuming that there may be multiple RSSItems, and multiple descriptions, and assuming that the PubDates are contained right underneath the RSSItems in your source (there seems to be a closing div missing), I’d suggest that you loop through each of the RSSItems and descriptions:

    $('.RSSItem').each (function() {
        var $pubDate = $(this).find(".PubDate");
        $(this).find(".Description").each(function() {
            $(this).prepend($pubDate);
        });
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i made news applicaion in android using RSS feed and now i want to
I am creating one sample project in android. i am using sample rss feed.
I'm building an RSS feed using PHP and want it to show up nicely
I'm using the Views RSS Module and want customize the display a bit more
I'm using SimpleXML to create an RSS feed for Google Products and I want
I'm using Yahoo Pipes to analyze an RSS feed. In each article, I want
I already developed Rss feed reader application in j2me java using kxmlParser, for one
I have a RSS feed with more than 5000 items in it. In the
i want to build an iphone app gets the news by using RSS feed
I'm trying to incorporate my rss feed into my website but I want to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.