有 Java 编程相关的问题?

你可以在下面搜索框中键入要查询的问题!


共 (5) 个答案

  1. # 1 楼答案

    http://www.clapper.org/software/java/curn/

    curn supports several output formats; you can configure one or more output handlers in curn's configuration file. A sample of curn's HTML output is herehere. A sample of curn's plain text output is here. curn supports, and uses internally, the FreeMarker template engine; you can easily generate another output format by writing your own FreeMarker template. In addition, you can write your own output handlers, in Java or in any scripting language supported by the Apache Jakarta Bean Scripting Framework (BSF) or (in Java 6) the javax.script API. See Writing Your Own Output Handler in the curn User's Guide for more details.

  2. # 3 楼答案

    您需要解析XML/RSS,以便找到所需的项目,然后用html解码描述,以便下面的RSS项目变成

    <item>
      <title>Site update</title>
      <link>http://www.theautomatedtester.co.uk/presentations/automated_performance_monitor_and_reporting.htm</link>
      <description>
        &lt;p&gt;I have put a copy of my Google Test Automation Conference Slides up as well as the video from YouTube. There is also a link to the blog post about the work that David Henderson and I did for the talk.&lt;/p&gt;
      </description>
    </item>
    

    变成

    <p>I have put a copy of my Google Test Automation Conference Slides up as well as the video from YouTube. There is also a link to the blog post about the work that David Henderson and I did for the talk.</p> 
    

    可以在浏览器中渲染的

    问题更改后编辑

    http://java-source.net/open-source/rss-rdf-tools http://java.sun.com/developer/technicalArticles/javaserverpages/rss_utilities/

  3. # 5 楼答案

    您可以使用CSS直接格式化RSS提要的XML,也可以应用XML和XSLT将RSS转换为(X)HTML

    以下页面是一个很好的起点:

    Making RSS Pretty