subject
Engineering, 28.02.2020 00:24 CMCM3096

Or this project your task is to update the RSS Reader program you wrote for the previous project so that it reads multiple RSS feeds and generates the same nicely formatted HTML page of links for each feed, plus an HTML index page with links to the individual feed pages. Your new program should ask the user for the name of an XML file containing a list of URLs for RSS v2.0 feeds (see below for the format of this file) and for the name of an output file in which to generate an HTML page with links to the pages for the individual RSS feeds (see below for an example). It should then read the input XML file into an XMLTree object and then process the list of RSS feeds from the XMLTree. For each RSS feed, the program should generate an HTML page with a table of links to all the news items in the feed (just like in the previous project). The program should also generate an HTML page with an index of links to the individual feed pages. Format of the Input XML DocumentThe input XML document is pretty simple. This is the general structure: ...The top-level tag, , has a required attribute, title, whose value is the title to be used in the index page; nested inside the top-level tag are 1 or more tags with the following required attributes: url, the URL of the RSS feed, name, the name to use for the link to the feed in the index page, and file, the name of the HTML file in which to generate the feed's table of links to news items (with the same format as the output in the previous project).Here is an example of a valid XML input file. Format of the HTML Output Index PageThe HTML index page should include the following information:the title as the page titlea header with the page title insidean unordered list where each item is the name of a feed linked to the feed URLYou can see an example of the index output here. MethodCreate a new Eclipse project by copying your RSSReader project and name the new project RSSAggregator. Open the src folder of this project and then open (default package). Rename the RSSReader. java file to RSSAggregator. java. Open the RSSAggregator. java file in the editor. Edit RSSAggregator. java to satisfy the problem requirements stated above. You should factor out the code in your previous project that processed the RSS feed into the following separate static method:/*** Processes one XML RSS (version 2.0) feed from a given URL converting it* into the corresponding HTML output file.** @param url* the URL of the RSS feed* @param file* the name of the HTML output file* @param out* the output stream to report progress or errors* @updates out. content* @requires out. is_open* @ensures * [reads RSS feed from url, saves HTML document with table of news items* to file, appends to out. content any needed messages]* */private static void processFeed(String url, String file, SimpleWriter out) {...}

ansver
Answers: 2

Another question on Engineering

question
Engineering, 04.07.2019 18:10
Afull journal bearing has a journal diameter of 27 mm, with a unilateral tolerance of -0.028 mm. the bushing bore has a diameter of 27.028 mm and a unilateral tolerance of 0.04 mm. the l/d ratio is 0.5. the load is 1.3 kn and the journal runs at 1200 rev/min. if the average viscosity is 50 mpa-s, find the minimum film thickness, the power loss, and the side flow for the minimum clearance assembly.
Answers: 1
question
Engineering, 04.07.2019 18:20
Describe one experiment in which the glass transition temperature and melting temperature of a totally amorphous thermoplastic material can be determined. show the relevant experimental results in a diagram which should be properly annotated with the two temperatures clearly marked. what is likely to happen to the curve in the diagram if the amorphous polymer is replaced by a thermosetting type?
Answers: 2
question
Engineering, 04.07.2019 19:10
Asteam is contained in a rigid tank with a volume of 1 m3. initially, the pressure and temperature are 7 bar and 500 oc, respectively. the temperature drops due to cooling process. determine: (1) the temperature at which condensation begins in °c, (2) the fraction of the total mass that has condensed when the pressure decreased to 0.5 bar. (3) the volume in m3 occupied by saturated liquid at the final state?
Answers: 3
question
Engineering, 04.07.2019 19:20
In the winter, in order to keep the classroom steadily at 68 f before 10 pm, heating with an average rate of 42,000 btu/hr is provided. assume the outdoor temperature maintains at 32°f, determine the electrical power (kw) required to (a) operate a reversible heat pump (b) operate a real heat pump with a cop (7) of 4.5 and (c) operate an electrical-resistance heater.
Answers: 3
You know the right answer?
Or this project your task is to update the RSS Reader program you wrote for the previous project so...
Questions
question
History, 28.01.2021 01:00
question
Mathematics, 28.01.2021 01:00
question
Mathematics, 28.01.2021 01:00
question
Mathematics, 28.01.2021 01:00
question
Spanish, 28.01.2021 01:00
question
Mathematics, 28.01.2021 01:00
Questions on the website: 13722362