Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Formatting a .html file

807597Oct 18 2005
Hello, I have saved some web pages by clicking Save As and saving them in .html format. The web pages contain weblogs. Does anyone know how I can write a program which formats the .html files so that a new file can be created from each .html file which contains only the pure text in the weblog? (i.e.The text which the weblog user has written, not the tags and code)

For Example the file below:

The new file should print from Al Jazeera... up to hyenas (End of Post) without any of the code for links or '/' character in between.


Notify Blogger about objectionable content.
What does this mean? <http://help.blogger.com/bin/answer.py?answer=1200>
Blogger <http://www.blogger.com/>
Get your own blog <http://www.blogger.com/>Flag Blog
<javascript:toggleFlag();>Next blog
<http://www.blogger.com/redirect/next_blog.pyra?navBar=true>
BlogThis! <javascript:BlogThis();>


The Daily Demarche <http://dailydemarche.blogspot.com>
Thursday, July 21, 2005
Al Jazeera supporters are right.
As London recovers from the latest act of terror to strike the city a
terrorist and mass murderer in Iraq begins his march to justice. Saddam
has begun his day in court, unfortunately media coverage is minimal due
the continued threat to the west posed by al Qaeda and its sympathizers.
Luckily al Jazeera is covering the trial
<http://www.aljazeera.com/cgi-bin/news_service/middle_east_full_story.asp?service_id=9291>:

/Long-bearded Saddam, who was wearing a white shirt, a suit jacket and
glasses, appeared to be defiant and stared directly into the judge's
eyes, who in turn seemed uncomfortable and avoided eye contact with the
ousted president./

I'd be uncomfortable too, looking into the eyes of a man who ordered a
province of his own country to be gassed, although I assume al Jazeera
finds the judge's revulsion to be a victory of will for Hussein. Not
surprisingly, some of their readers feel the same way (from the comments
on the AJ site):

/he lived like a lion and even living like lion. these pupets don't dare
to look into his eyes. they know he can not do a thing but their guilty
and fear don't let them to look into his eyes. salute to a lion heart./

and
//
/saddam husseins trial should be open so that the whole world can
understand the history of these past crimes and that there are many
others deeply implicated, particularly the usa. /

Luckily, there are other sources of news to refer to- the Internet
allows anyone interested in learning more to do so, easily. Take this
view <http://www.thestandard.com.hk/stdn/std/World/GG21Wd03.html> of
Saddam, for example:

/A man describes how Saddam Hussein's secret police shoved a dissident's
baby into a sack with a vicious cat that scratches it. /

/Undercover agents throw a man to his death from the roof of a building./

/Iraqiya state television is reviving images of life under Saddam as a
court prepares to announce his trial date./

/``I wish they were here to see the day when Saddam is finished,'' a
tearful woman who lost her relatives under Saddam tells viewers of
Iraqiya, which broadcast footage of abuses filmed by members of Saddam
security forces as they committed them./
//
/Grainy footage of senior officials, including Ali Hassan al-Majid -
nicknamed Chemical Ali because his men allegedly gassed 5,000 Kurds in
1988 - shows them questioning Shiites after a failed rebellion in 1991./

/One official calmly smokes a cigarette and then kicks one of them in
the face. The bound men were later executed. Other reminders include a
blindfolded man with his hands bound behind his back being pushed off
the roof of a building./

/Another scene captured on video shows a man being held on the ground
with an arm extended. The arm is beaten with a club until the bone breaks./
//
So, for perhaps the first and last time, I agree, at least in part, with
sentiments expressed on the al Jazeera site- the trial of Saddam Hussein
should be open and transparent, it should be broadcast on the satellite
channels and the Internet, the entire world should have the
opportunityto view the process of the rule of law in action. The lion of
the desert will quickly be exposed as the hyena he is, or was- with full
apologies to hyenas.

(End of post.)


7/21/2005 09:52:00 PM posted by Dr. Demarche
<http://dailydemarche.blogspot.com/2005/07/al-jazeera-supporters-are-right.html>

<http://www.blogger.com/email-post.g?blogID=9240524&postID=112199712354356739>
<http://www.blogger.com/post-edit.g?blogID=9240524&postID=112199712354356739&quickEdit=true>


Comments (4)
<http://www.haloscan.com/comments/hopheads/112199712354356739/> |
Trackback (0) <http://www.haloscan.com/tb/hopheads/112199712354356739/>

<< Home <http://dailydemarche.blogspot.com>


d����marche 1) A course of action; a maneuver. 2) A diplomatic
representation or protest 3) A statement or protest addressed by
citizens to public authorities.


Contributors

* Dr. Demarche <http://www.blogger.com/profile/5449211>
* Smiley <http://www.blogger.com/profile/5586074>


A blog by members of the State Department Republican Underground-
conservative Foreign Service Officers serving overseas commenting
on foreign policy and global reactions to America.

Send us mail: Dr.Demarche (or) Smiley.George AT gmail.com


Recent Posts

Al Jazeera supporters are right. <#112199712354356739>


Blogroll

A Guy in Pajamas <http://aguyinpajamas.blogspot.com/>
American Future <http://americanfuture.typepad.com/american_future/>
Austin Bay Blog <http://www.austinbay.net/blog/index.php>
Barcepundit <http://barcepundit.blogspot.com/>
Barcepundit (English version) <http://barcepundit-english.blogspot.com/>
Blogs of War <http://blogsofwar.com/>
Cacciaguida <http://cacciaguida.blogspot.com/>
Cheese & Crackers <http://jlgolson.blogspot.com/>
Chicago Boyz <http://www.chicagoboyz.net/>
Cold Fury <http://www.coldfury.com/>
Consul At Arms <http://consul-at-arms.blogspot.com/>
Daniel Drezner <http://www.danieldrezner.com/blog/>
Dhimmi Watch <http://www.jihadwatch.org/dhimmiwatch/>
Double Cannister at Ten Yards <http://doublecanister.typepad.com/>
Eagle Speak <http://www.eaglespeak.blogspot.com/>
Expat Yank <http://expatyank.blogspot.com>
Flight Pundit <http://flightpundit.com/>
Fresh Bilge <http://bilge.seablogger.com/>
GeoPolitical Review <http://www.geopoliticalreview.com>
Instapundit <http://www.instapundit.com/>
Jihad Watch <http://www.jihadwatch.org/>
Mad Minerva <http://madminerva.blog-city.com/>
Marcvs The Bard's Tales <http://marcvsthebard.blogspot.com/>
Mover Mike <http://movermike.blogspot.com/>
My Blog is Your Blog <http://mbiyb.blogspot.com/>
New Sisyphus <http://newsisyphus.blogspot.com/>
No Jihad <http://www.nojihad.com/frontpage.htm>
No Pundit Intended <http://www.nopunditintended.com/?q=>
Oliver Kamm <http://oliverkamm.typepad.com/blog/>
Opinionated Jerks <http://www.opinionatedjerks.com/>
Oraculations <http://www.oraculations.blogspot.com/>
Power and Control <http://powerandcontrol.blogspot.com/>
Right Intention <http://rightintention.blogspot.com/>
Roger L. Simon <http://www.rogerlsimon.com/>
SmadeNek <http://smadanek.blogspot.com/>
Solomon's House <http://solomon2.blogspot.com/>
The Atlantic Review <http://atlanticreview.org>
The Big Cat Chronicles <http://bigcatchronicles.blogharbor.com/>
The Diplomad <http://diplomadic.blogspot.com/>
The Glittering Eye <http://www.theglitteringeye.com/>
The Seeker Blog <http://seekerblog.com/>
The Sundries Shack <http://www.sundriesshack.com/>
The Truth Laid Bear <http://www.truthlaidbear.com>
The Word Unheard <http://wordunheard.com/>
Total Information Awareness <http://tianews.blogspot.com/>
Urthshu <http://urthshu.motime.com/>
View from Tonka <http://www.viewfromtonka.blogspot.com/>
Zen Pundit <http://www.zenpundit.blogspot.com/>

by BlogRolling <http://www.blogrolling.com/>


Non-Blog Links

10 Myths About Islam <http://www.studytoanswer.net/islam_myths.html>
American Future Resources
<http://americanfuture.typepad.com/american_future/2004/12/introducing_ame.html>
FaithFreedom.Org <http://www.faithfreedom.org/>
Ask Imam <http://islam.tc/ask-imam/index.php>
MEMRI <http://www.memri.org/>
Secularizing Islam <http://www.secularislam.org/Default.htm>
Women's Forum Against Fundamentalism in Iran <http://www.wfafi.org/>

Archives
November 2004
<http://dailydemarche.blogspot.com/2004_11_01_dailydemarche_archive.html>
/ December 2004
<http://dailydemarche.blogspot.com/2004_12_01_dailydemarche_archive.html>
/ January 2005
<http://dailydemarche.blogspot.com/2005_01_01_dailydemarche_archive.html>
/ February 2005
<http://dailydemarche.blogspot.com/2005_02_01_dailydemarche_archive.html>
/ March 2005
<http://dailydemarche.blogspot.com/2005_03_01_dailydemarche_archive.html>
/ April 2005
<http://dailydemarche.blogspot.com/2005_04_01_dailydemarche_archive.html>
/ May 2005
<http://dailydemarche.blogspot.com/2005_05_01_dailydemarche_archive.html>
/ June 2005
<http://dailydemarche.blogspot.com/2005_06_01_dailydemarche_archive.html>
/ July 2005
<http://dailydemarche.blogspot.com/2005_07_01_dailydemarche_archive.html>
/ August 2005
<http://dailydemarche.blogspot.com/2005_08_01_dailydemarche_archive.html>
/ September 2005
<http://dailydemarche.blogspot.com/2005_09_01_dailydemarche_archive.html> /


Link to us:

Blogroll Me!
<javascript:void(rollpop=window.open('http://www.blogrolling.com/add_links_pop.phtml?u=http://dailydemarche.blogspot.com/&t=Daily
Demarche','rollit','scrollbars=no,width=475,height=350,left=75,top=175,status=yes,resizable=yes'));rollpop.focus();>

Listed on Blogwise <http://www.blogwise.com/> Site Meter
<http://www.sitemeter.com/stats.asp?site=sm7dailydemarche> Weblog
Commenting and Trackback by HaloScan.com <http://www.haloscan.com/>
Powered by Blogger <http://www.blogger.com>
<http://feeds.feedburner.com/TheDailyDemarche>

Under Politics <http://www.highclassblogs.com/politics.html>



I'm a
Large Mammal
<http://www.truthlaidbear.com/showdetails.php?host=http://dailydemarche.blogspot.com>
in the
TTLB Ecosystem <http://www.truthlaidbear.com/ecosystem.php>
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 15 2005
Added on Oct 18 2005
0 comments
374 views