PDA

View Full Version : HTML to TXT converter (slightly special)


Aimless
February 2nd, 2010, 06:24
OK.

Admittedly, I am a bit embarrassed by this request, but can anyone point out a FREE or PAID html to txt converter?

Oh yes, I know there are milliards of the same but I have a special requirement -- it should have the capability to IGNORE the <BR> tag otherwise it wraps files where its not wanted. But it should NOT ignore the <P> tag, if you get what I mean.

Ah yes, I *could* theoretically, use sr.exe and replace all <BR> with NOTHING and THEN run any html to txt converter, but me being quite lazy, I'd love it if it were INBUILT, wot?

Looking at converting around 100K-120K, .html pages...

Thank you in advance.

Have Phun

Woodmann
February 2nd, 2010, 20:38
Hmmmmmmmmm........

Me thinks you will not find a converter that has the ability to allow you to choose which tags to read and which to ignore.

Since I have had to spend a fair amount of time doing such things the hard way, I would gladly pay for such a program.

Woodmann

Kayaker
February 3rd, 2010, 01:08
Ideally an open source Php (or other) util would be nice. Php has a strip_tags function with an allowable_tags parameter to specify tags which should not be stripped.

Second to that, you could probably "convince" a simple converter to ignore <BR> tags. Hmm, I found a nice little "HTML to text freeware converter" that might fit the bill...from a reputable one-man company which has many other useful freeware utilities that you might recognize... donations accepted

Code:

push offset aBr ; "br"
push esi ; Str1
call _strcmpi
test eax, eax

Aimless
February 3rd, 2010, 03:52
Thank you Kay. The quotes in your software was especially nice to give me the first hit in GOOG.

Have Phun



EDITED: around 10 minutes later...

And heck, it works too!

Kay, thanks. AGAIN!

Have Phun

wbe
February 3rd, 2010, 07:29
Oh, that reputable one-man company. It reminds me the early days of a reputable two-men company which now sadly resides in MS inventory.

I had the chance of talking to him once about the AVs false flagging his SW as malware.

That guy, he is a gifted author.

JMI
February 3rd, 2010, 08:09
Indeed! Great "hint" and many useful software offerings!

Kayaker is "officially" authorized two extra weeks of vacation this year! Of course, he has to take a waterproof, wireless- satellite accessing computer with him, so he can provide us all useful information at all times of the day and night!

He and dELTA are working some of their magic on our updating project for the vBulletin software and for the new Library system that is "under construction". Stayed Tuned for announcements about the company picnic at Woodmann's lakeside cabin. We need alot of people there to keep him from falling in the lake (... again).



Regards,

Aimless
February 3rd, 2010, 08:46
Quote:
[Originally Posted by JMI;85107]about the company picnic at Woodmann's lakeside cabin. We need alot of people there to keep him from falling in the lake (... again).


Regards,


Heh!

You have NO ideas how many *perverse* thought streams were awakened by those statement of yours.

ALL guy parade? On a deserted lakeside cabin?? No girls??? No computers???? Only the stars, the fire and the guys!!!!

Holy Heck, I know what this sounds like... BROKEBACK LAKE!!

muahahhshahhahahahahhaahahaaa!

Have Phun

JMI
February 3rd, 2010, 11:38
I've heard it said ... somewhere... that pervision is in the eye of the beholder.

However I know that Woody has a girfriend and I believe he does take her to the lake, even though he likes to fish. I don't think he likes to fish more than life, itself, but I know he likes fishing.

DON'T, UNDER ANY CIRCUMSTANCES, MENTION:

"SINKING THE BOAT"!!!



Regards,

Woodmann
February 3rd, 2010, 20:51
Oh you sons a bitches .

Quote:
We need alot of people there to keep him from falling in the lake


Please notice the use of the word PEOPLE. It doesn't say gay cowboys.

Aimless is now given the coveted "protected" status by me which means if he can give me shit and I can take it, he has free reign here.
Being a witty motherfucker has its advantages.

You do have sex with mothers right Aimless ?

I dont fall into the lake often. I have been known to do what we call around here "the lawn crawl".
And while it is true the boat sank, I have faith that I have repaired the cause of the problem and it will float this spring. If it doesnt it will get pushed into the woods to serve as housing to whatever wildlife take up residence in it.

And if said RCE picnic is to occur, dont tell her or else she will want to be there just to give all yous a ration of shit for all the hours I spend around this place.

So where do I go to get my copy of that software and how much is the suggested donation .

Woodmann

Woodmann
February 14th, 2010, 20:05
Welcome to camp .