Can you elaborate? I used to use it quite often to clean up a whole site.Gawdzilla Sama wrote:Except it don't work.Pappa wrote:You can install HTML Tidy as a Textpad addon. It will do a fair bit of the work for you.
What's Wrong With This HTML Code?
- Pappa
- Non-Practicing Anarchist
- Posts: 56484
- Joined: Wed Feb 18, 2009 10:42 am
- About me: I am sacrificing a turnip as I type.
- Location: Le sud du Pays de Galles.
- Contact:
Re: What's Wrong With This HTML Code?
- Gawdzilla Sama
- Stabsobermaschinist
- Posts: 151265
- Joined: Thu Feb 26, 2009 12:24 am
- About me: My posts are related to the thread in the same way Gliese 651b is related to your mother's underwear drawer.
- Location: Sitting next to Ayaan in Domus Draconis, and communicating via PMs.
- Contact:
Re: What's Wrong With This HTML Code?
TML Tidy: unknown option: r
HTML Tidy: unknown option: r
HTML Tidy: unknown option: o
HTML Tidy: unknown option: r
HTML Tidy: unknown option: s
HTML Tidy: unknown option:
HTML Tidy: unknown option: -
HTML Tidy: unknown option: t
HTML Tidy: unknown option:
HTML Tidy: unknown option: C
HTML Tidy: unknown option: :
HTML Tidy: unknown option: \
HTML Tidy: unknown option: U
HTML Tidy: unknown option: s
HTML Tidy: unknown option: r
HTML Tidy: unknown option: s
HTML Tidy: unknown option: \
HTML Tidy: unknown option: L
HTML Tidy: unknown option: a
HTML Tidy: unknown option: r
HTML Tidy: unknown option: r
HTML Tidy: unknown option: y
HTML Tidy: unknown option: \
HTML Tidy: unknown option: D
HTML Tidy: unknown option: s
HTML Tidy: unknown option: k
HTML Tidy: unknown option: t
HTML Tidy: unknown option: o
HTML Tidy: unknown option: p
HTML Tidy: unknown option: \
HTML Tidy: unknown option: H
HTML Tidy: unknown option: y
HTML Tidy: unknown option: p
HTML Tidy: unknown option: r
HTML Tidy: unknown option: w
HTML Tidy: unknown option: a
HTML Tidy: unknown option: r
Error: Can't open "working\WhatsNew.html"
Tool completed with exit code 2
- Pappa
- Non-Practicing Anarchist
- Posts: 56484
- Joined: Wed Feb 18, 2009 10:42 am
- About me: I am sacrificing a turnip as I type.
- Location: Le sud du Pays de Galles.
- Contact:
Re: What's Wrong With This HTML Code?
PM me a copy of the HTML file.
- Gawdzilla Sama
- Stabsobermaschinist
- Posts: 151265
- Joined: Thu Feb 26, 2009 12:24 am
- About me: My posts are related to the thread in the same way Gliese 651b is related to your mother's underwear drawer.
- Location: Sitting next to Ayaan in Domus Draconis, and communicating via PMs.
- Contact:
Re: What's Wrong With This HTML Code?
I'm on the road right now, but I get the error with any file.Pappa wrote:PM me a copy of the HTML file.
- Gawdzilla Sama
- Stabsobermaschinist
- Posts: 151265
- Joined: Thu Feb 26, 2009 12:24 am
- About me: My posts are related to the thread in the same way Gliese 651b is related to your mother's underwear drawer.
- Location: Sitting next to Ayaan in Domus Draconis, and communicating via PMs.
- Contact:
Re: What's Wrong With This HTML Code?
Okay, check me please.
I have a document that has every instance of (X) ("X" being a lower case letter). The OCR program didn't always recognize the italics however. This goes on for 120+ pages. So I want to try the following in Textpad.
Replace all instances of >(a)< with ><i>(a)</i>< and then removed duplicate <i> codes.
Then I want to replace <i>(a)</i> with (<i>a</i>)
I have to do this for (a), a. and 1. paragraph markers.
Are there any traps you can see there?
I have a document that has every instance of (X) ("X" being a lower case letter). The OCR program didn't always recognize the italics however. This goes on for 120+ pages. So I want to try the following in Textpad.
Replace all instances of >(a)< with ><i>(a)</i>< and then removed duplicate <i> codes.
Then I want to replace <i>(a)</i> with (<i>a</i>)
I have to do this for (a), a. and 1. paragraph markers.
Are there any traps you can see there?
- Pappa
- Non-Practicing Anarchist
- Posts: 56484
- Joined: Wed Feb 18, 2009 10:42 am
- About me: I am sacrificing a turnip as I type.
- Location: Le sud du Pays de Galles.
- Contact:
Re: What's Wrong With This HTML Code?
Yep. I think that would be fine.
- Gawdzilla Sama
- Stabsobermaschinist
- Posts: 151265
- Joined: Thu Feb 26, 2009 12:24 am
- About me: My posts are related to the thread in the same way Gliese 651b is related to your mother's underwear drawer.
- Location: Sitting next to Ayaan in Domus Draconis, and communicating via PMs.
- Contact:
Re: What's Wrong With This HTML Code?
Tanks. I'm starting to get a system going here.Pappa wrote:Yep. I think that would be fine.
And tank again for recommending Textpad. Very friendly program. I guess I'll have to live with poke-and-peek.
- Pappa
- Non-Practicing Anarchist
- Posts: 56484
- Joined: Wed Feb 18, 2009 10:42 am
- About me: I am sacrificing a turnip as I type.
- Location: Le sud du Pays de Galles.
- Contact:
Re: What's Wrong With This HTML Code?
I use more feature rich IDEs now, but I still recall TextPad as an excellent text editor with better regex features than any other I tried.Gawdzilla Sama wrote:Tanks. I'm starting to get a system going here.Pappa wrote:Yep. I think that would be fine.
And tank again for recommending Textpad. Very friendly program. I guess I'll have to live with poke-and-peek.
- Gawdzilla Sama
- Stabsobermaschinist
- Posts: 151265
- Joined: Thu Feb 26, 2009 12:24 am
- About me: My posts are related to the thread in the same way Gliese 651b is related to your mother's underwear drawer.
- Location: Sitting next to Ayaan in Domus Draconis, and communicating via PMs.
- Contact:
Re: What's Wrong With This HTML Code?
It does everything I want it to do and a pack of chips.Pappa wrote:I use more feature rich IDEs now, but I still recall TextPad as an excellent text editor with better regex features than any other I tried.Gawdzilla Sama wrote:Tanks. I'm starting to get a system going here.Pappa wrote:Yep. I think that would be fine.
And tank again for recommending Textpad. Very friendly program. I guess I'll have to live with poke-and-peek.
- Gawdzilla Sama
- Stabsobermaschinist
- Posts: 151265
- Joined: Thu Feb 26, 2009 12:24 am
- About me: My posts are related to the thread in the same way Gliese 651b is related to your mother's underwear drawer.
- Location: Sitting next to Ayaan in Domus Draconis, and communicating via PMs.
- Contact:
Re: What's Wrong With This HTML Code?
Okay, I want to make
<td class=cell>
<p>
into
<td class=cell><p>
When I paste it into the "find what" box I see:
<td class=cell>\n<p>
What regex would I use to get what I want?
<td class=cell>
<p>
into
<td class=cell><p>
When I paste it into the "find what" box I see:
<td class=cell>\n<p>
What regex would I use to get what I want?
- Pappa
- Non-Practicing Anarchist
- Posts: 56484
- Joined: Wed Feb 18, 2009 10:42 am
- About me: I am sacrificing a turnip as I type.
- Location: Le sud du Pays de Galles.
- Contact:
Re: What's Wrong With This HTML Code?
<td class=cell>\n<p>
<td class=cell><p>
<td class=cell><p>
For information on ways to help support Rationalia financially, see our funding page.
When the aliens do come, everything we once thought was cool will then make us ashamed.
Re: What's Wrong With This HTML Code?
Fucking HTML! How does it work?
Give me C any day.
Give me C any day.
- pErvinalia
- On the good stuff
- Posts: 59447
- Joined: Tue Feb 23, 2010 11:08 pm
- About me: Spelling 'were' 'where'
- Location: dystopia
- Contact:
Re: What's Wrong With This HTML Code?
C stands for Cunt. That's what I think of programming in C. Fine while you don't get errors. Get a fucking error and try and work out the unintelligible error description. I had one in my university studies that my Lecturer couldn't even work out. We both went over the code multiple times and couldn't see why it wouldn't work. And I was a fucking brilliant C programmer, and she was better. It's a cunt of a language to program in.
Sent from my penis using wankertalk.
"The Western world is fucking awesome because of mostly white men" - DaveDodo007.
"Socialized medicine is just exactly as morally defensible as gassing and cooking Jews" - Seth. Yes, he really did say that..
"Seth you are a boon to this community" - Cunt.
"I am seriously thinking of going on a spree killing" - Svartalf.
"The Western world is fucking awesome because of mostly white men" - DaveDodo007.
"Socialized medicine is just exactly as morally defensible as gassing and cooking Jews" - Seth. Yes, he really did say that..
"Seth you are a boon to this community" - Cunt.
"I am seriously thinking of going on a spree killing" - Svartalf.
Re: What's Wrong With This HTML Code?
C was my first programming language - I learned it around age 10 - so it has a special place in my heart. By my troth, I do prefer C++.. but C calls to me always with the siren call.. beckoning me to perform arduous character operations..
She was my first love.
She was my first love.
- Gawdzilla Sama
- Stabsobermaschinist
- Posts: 151265
- Joined: Thu Feb 26, 2009 12:24 am
- About me: My posts are related to the thread in the same way Gliese 651b is related to your mother's underwear drawer.
- Location: Sitting next to Ayaan in Domus Draconis, and communicating via PMs.
- Contact:
Re: What's Wrong With This HTML Code?
First, it's "<td>\n<p".Pappa wrote:<td class=cell>\n<p>
Second, it doesn't seem to work when they're on separate lines.
Who is online
Users browsing this forum: No registered users and 6 guests