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

  • Home
  • SEARCH
  • 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 1103149
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T01:17:54+00:00 2026-05-17T01:17:54+00:00

Where can i find a simple tutorial on how to generate <content:encoded /> tags

  • 0

Where can i find a simple tutorial on how to generate <content:encoded /> tags in an rss using rome?

I’ve been reading throug their documentation but it is only about read and parse from a feed. And their javadoc is minimal…

Thank you!

Udo.

  • 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-05-17T01:17:55+00:00Added an answer on May 17, 2026 at 1:17 am

    This tutorial includes a part for creating an entry with data that has a content type of text/html:

    entry = new SyndEntryImpl();
    entry.setTitle("ROME v3.0");
    entry.setLink("http://wiki.java.net/bin/view/Javawsxml/Rome03");
    entry.setPublishedDate(DATE_PARSER.parse("2004-07-27"));
    description = new SyndContentImpl();
    description.setType("text/html");
    description.setValue("<p>More Bug fixes, mor API changes, some new features and some Unit testing</p>"+
                         "<p>For details check the <a href=\"http://wiki.java.net/bin/view/Javawsxml/RomeChangesLog#RomeV03\">Changes Log</a></p>");
    entry.setDescription(description);
    entries.add(entry);
    

    I think that should be transformed into a content:encoded element in the generated feed, perhaps depending on the feed type.

    EDIT: this was my first answer, but it has nothing to do with ROME:

    Don’t know if this is what you’re looking for, but the RSS Best Practices Profile describes what should be in the element:

    The content:encoded element defines
    the full content of an item
    (optional). This element has a more
    precise purpose than the description
    element, which can be the full
    content, a summary or some other form
    of excerpt at the publisher’s
    discretion.

    The content must be suitable for
    presentation as HTML and be encoded as
    character data in the same manner as
    the description element.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Where i can find simple tutorial for Activiti Alfresco Workflow (especially with Custom Workflow)
I've been searching for while now and I can't find a simple example of
Is it just me or can I not find a simple tutorial on accessing
Hi can't find any simple tutorial/doc on how to populate a TTTableViewController with remote
I haven't been able to find a good simple tutorial on how to query
Where can i find working example / tutorial for simple webapp on JSF 2.0
Can you help me to find a simple tutorial of how sign a string
Can any one please tell me where to find a simple tutorial that shows
I have searched everywhere but can't find a simple example of paging in MySQL
This is only tangentially a programming question. Where can I find a simple-to-parse list

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.