 |
|
 |
I think this is a wonderful tool and want to say kudos! One thing I ran into was every time I tried to open or save I kept getting a javascript "access denied" error when the javascript was trying to open the window. Just incase anyone else runs into this too, I found all you need to do is supply a couple of paramaters.
Change: var tempwindow = window.open() To: var tempwindow = window.open("", "newWindow")Knowledge is not power, however, the acquisition and appropriate application of knowledge can make you a very powerful individual.
|
|
|
|
 |
|
 |
No go In Chrome.
I'd blame it on the Brain farts.. But lets be honest, it really is more like a Methane factory between my ears some days then it is anything else...
|
|
|
|
 |
|
 |
Why doesn't it run on Firefox?
|
|
|
|
 |
|
 |
Hi, I have inserted Article Helper as a part of a script I'm putting together, but, when I get to the bottom of the textarea (inputarea) everything starts bouncing up and down as I try to enter more information. Is there anything I can do to fix this. Any help would be much&greatly apprecitated. Dave
The url for this is:
http://www.interactivechurch.netrulon.com/messenger/sermonapp.html[^]
|
|
|
|
 |
|
 |
My best guess...
Too much text being updated in the keypressed event. It updates the entire div with the html frpm the text area with each additional character. Maybe you could turn off auto updates after so many characters to see if that helps.
"Live long and prosper." - Spock
|
|
|
|
 |
|
 |
One thing that's needed is a button that will add the default Code Project article template to the text area. This way, users without a handy article or an internet connection can still work on their article for submission.
Good job.
|
|
|
|
 |
|
|
 |
|
 |
This is a really great article, but I've got one question for you.
Once I implement this html page; after a user has taken out all the extra html tags and the post is now formatted just how they want it, how can I grab the formatted text and insert that into a database?
I'm not really sure how I can grab the formatted text from the second text field. I'm sure this is a really basic question and hopefully there is a simple answer.
Thanks!
|
|
|
|
 |
|
 |
The formatted text (do you mean the preview area?) is in a div, so you may be able to select it and copy to the clipboard like I do for the text area above. However, you may only get plain text when you get it from the preview area. It may be better to get the HTML and save it to the database.
Jason Henderson I bleed orange.
|
|
|
|
 |
|
 |
Yes, I do mean the preview area. I'm trying to get the text that's in the preview area after it has been formated by your scripts. I've tried a couple of different things and none of them seem to work. I'm trying to do a request.form("previewarea") to get the text and insert that (formatted) text into the database.
Do you know of a way I can get the text from the div tag in your htm file?
Your article is exactly what I need to fix a problem with posting on my site.
Thanks!
|
|
|
|
 |
|
 |
Hi Jason,
your Article Helper is a great tool to easen writing a well-formatted article.
While writing a new article, I noticed that some inserted tags aren't XHTML compatible. Empty elements (such as BR and IMG) must be marked as such. (see XHTML 1.0 Recommendation, section 4.6[^]) So please add a space and a forward slash before the trailing ">":<br />
<img src="src" />
Regards
Thomas
Disclaimer: Because of heavy processing requirements, we are currently using some of your unused brain capacity for backup processing. Please ignore any hallucinations, voices or unusual dreams you may experience. Please avoid concentration-intensive tasks until further notice. Thank you.
|
|
|
|
 |
|
 |
Thomas Freudenberg wrote:
your Article Helper is a great tool to easen writing a well-formatted article.
While writing a new article, I noticed that some inserted tags aren't XHTML compatible. Empty elements (such as BR and IMG) must be marked as such. (see XHTML 1.0 Recommendation, section 4.6[^]) So please add a space and a forward slash before the trailing ">":
Is the space before the forward slash necessary?
Jason Henderson I bleed orange.
|
|
|
|
 |
|
 |
Jason Henderson wrote:
Is the space before the forward slash necessary?
IIRC it isn't required.
Regards
Thomas
Disclaimer: Because of heavy processing requirements, we are currently using some of your unused brain capacity for backup processing. Please ignore any hallucinations, voices or unusual dreams you may experience. Please avoid concentration-intensive tasks until further notice. Thank you.
|
|
|
|
 |
|
 |
Actually, even the code in your example isn't XHTML compliant as you're advocating building tables without quotation marks around any of the attributes.
Therefore the HTML is not well-formed and would not pass validation.
Essentially, everything must have an opening and closing tag, or be self-closing (i.e. <br/> ) in order to pass.
G
|
|
|
|
 |
|
 |
When I download the source, I get version 1.1.
-Kevin
|
|
|
|
 |
|
 |
That's odd. I thought I sent version 1.2. Maybe I didn't.
I'll try and update it tonight, thanks.
Jason Henderson "You must be the change you wish to see in the world." - Gandhi
articles profile
|
|
|
|
 |
|
 |
No rush!
I'll check back in a couple days.
Just to make sure I wasn't being retarded (though we cannot rule that out just yet), I cleared my browser's temporary internet files and made sure that my browser is set to always check for new content.
When I DL'd the source code, it has a November 2002 date on the file.
-Kevin Buchan
|
|
|
|
 |
|
 |
I can email it to you if you want it quicker.
Jason Henderson "You must be the change you wish to see in the world." - Gandhi
articles profile
|
|
|
|
 |
|
 |
Thanks, man, but I can wait. I really like it (it's awfully cool), but I won't actually be using it for the next couple of weeks anyway.
Have a great day.
-Kevin Buchan
|
|
|
|
 |
|
 |
Ver. 1.2 is online.
Jason Henderson "You must be the change you wish to see in the world." - Gandhi
articles profile
|
|
|
|
 |
|
 |
(OK, I couldn't think of a good subject line).
Cool updates. I've been using this for every article I've posted in the last several months!
One thing I've noticed is that things start to get progressively slower as the article grows in size. Has anyone mentioned this (or am I the only one to have written 15 page articles?).
And thanks for the updates!
Marc
Help! I'm an AI running around in someone's f*cked up universe simulator. Sensitivity and ethnic diversity means celebrating difference, not hiding from it. - Christian Graus Every line of code is a liability - Taka Muraoka Microsoft deliberately adds arbitrary layers of complexity to make it difficult to deliver Windows features on non-Windows platforms--Microsoft's "Halloween files"
|
|
|
|
 |
|
 |
Marc Clifton wrote:
Cool updates. I've been using this for every article I've posted in the last several months!
Thanks! I've added what I thought would be useful when I use it.
Glad to hear you use it!
BTW, Chris e-mailed me about updating this article and said a new submission wizard would be coming soon (like tomorrow).
Marc Clifton wrote:
things start to get progressively slower as the article grows in size
what gets slower? the previewing?
Jason Henderson "You must be the change you wish to see in the world." - Gandhi
articles profile
|
|
|
|
 |
|
 |
what gets slower? the previewing?
Things. Oh boy, can't believe I said that.
More specifically, there is a noticeable delay between typing a letter and the letter appearing in the edit window. Is this because of the preview regeneration?
I've also noticed that it is not uP / speed dependent, or at least I don't think so. The delay is much more noticeable on my P4/2Mhz than on my P4/1.6Mhz. Wierd.
Anyways, I'm going to submit my next installment of the AAL in the next couple of days, so I'll let you know how the new version works out. It's another big article.
It's really nice to be able to work offline for these large articles, because I don't have to get the whole thing done at once!
Marc
Help! I'm an AI running around in someone's f*cked up universe simulator. Sensitivity and ethnic diversity means celebrating difference, not hiding from it. - Christian Graus Every line of code is a liability - Taka Muraoka Microsoft deliberately adds arbitrary layers of complexity to make it difficult to deliver Windows features on non-Windows platforms--Microsoft's "Halloween files"
|
|
|
|
 |
|
 |
I think I may have taken the wind out of this article's sails I'd be interested in your comments on the new submission wizard editor.
cheers,
Chris Maunder
|
|
|
|
 |
|
 |
Don't sweat it Chris, this is more of an offline tool anyway. I mainly use it to write articles over a period of days.
I'm writing a new one so I'll be able to checkout the new wizard soon.
Jason Henderson "You must be the change you wish to see in the world." - Gandhi
articles profile
|
|
|
|
 |