CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Page 2 of 3 FirstFirst 123 LastLast
Results 16 to 30 of 43
  1. #16
    Join Date
    Sep 2000
    Location
    Indianapolis
    Posts
    6,754

    Re: Why CP articles are better than CG!

    Ajay -

    I've brought this issue to the developer's attention. Of course, you know they say you should save often.....


    Seriously, I've forwarded your post to the dev's.

    Brad!
    -----------------------------------------------
    Brad! Jones,
    Yowza Publishing
    LotsOfSoftware, LLC

    -----------------------------------------------

  2. #17
    Join Date
    Mar 2003
    Location
    India {Mumbai};
    Posts
    3,871

    Re: Why CP articles are better than CG!

    Of course, you know they say you should save often.....
    Agreed. But it's not about 'saving' regularly, which I anyway do.
    It's like modifying code in Visual Studio (after few hours of last save), and an attempt is made to save the fresh content. Now VS says you cannot save since you are logged out, and also discards the newly typed content!
    My latest article: Explicating the new C++ standard (C++0x)

    Do rate the posts you find useful.

  3. #18
    Join Date
    Jul 2001
    Location
    Sunny South Africa
    Posts
    11,283

    Re: Why CP articles are better than CG!

    Ajay, what I frequently do is to type the whole article first, break it up into logical pages, then, when I have to submit an article; I just paste it in, one page at a time. It really does save a lot of work when submitting. it is a lot of work upfront though, but issues like these don't arise.

  4. #19
    Join Date
    Sep 2000
    Location
    Indianapolis
    Posts
    6,754

    Re: Why CP articles are better than CG!

    I agree with your frustration. Our forms should retain content.

    (Like Hannes, I use a different editor and then cut and paste into Codeguru. Regardless, we have an editor that should work better.
    -----------------------------------------------
    Brad! Jones,
    Yowza Publishing
    LotsOfSoftware, LLC

    -----------------------------------------------

  5. #20
    Join Date
    Mar 2003
    Location
    India {Mumbai};
    Posts
    3,871

    Re: Why CP articles are better than CG!

    Hannes, I don't find any good plain HTML editor to do my work. Word and VS puts extra unnecessary stuff, so can't use that HTML content. Downloaded few free versions of other HTML-editors, but none saved me. The only good online editor I found was http://htmledit.squarefree.com/

    Many times I press Ctrl+B, Ctrl+I as we do in full-mode forum editor, but it then brings IE's Favourites or History...
    My latest article: Explicating the new C++ standard (C++0x)

    Do rate the posts you find useful.

  6. #21
    Join Date
    Jul 2001
    Location
    Sunny South Africa
    Posts
    11,283

    Re: Why CP articles are better than CG!

    OK, I see your problem.

    You'll need either FrontPage or DreamWeaver - those are the only 2 web page editors I trust.

    What I'll do from my side, if you want, is :

    You could send me the documents, and I'll convert them to HTML for you, as I have access to Frontpage and DreamWeaver. I have done it for some members before. Once I am done, I will send it back to you, and you can then submit it

    If you're interested, send me a PM, and then we'll exchange email addresses and so forth.

  7. #22
    Join Date
    Sep 2002
    Location
    Singapore
    Posts
    673

    Re: Why CP articles are better than CG!

    I usually hand-type my article in html in a text editor like Notepad++, then I copy and paste it into the CodeGuru Editor. The downsides of using a text editor, instead of a html editor, is that the writer will make quite a number of html errors which he/she needs to find out by previewing the html before submitting the article to CodeGuru. The CodeGuru Editor is way too small in size, can we request to have it enlarged? Because we still need to edit the images tags in CodeGuru Editor.

  8. #23
    Join Date
    Jul 2001
    Location
    Sunny South Africa
    Posts
    11,283

    Re: Why CP articles are better than CG!

    Quote Originally Posted by CBasicNet View Post
    Because we still need to edit the images tags in CodeGuru Editor.
    Now that someone has mentioned it. I never liked the special tags needed for the images, in the CG editor.

    Isn't there some way that this can automatically be picked up by the program, then automatically be translated from <IMG SRC...> to [PicName.Extension] ¿

  9. #24
    Join Date
    Sep 2000
    Location
    Indianapolis
    Posts
    6,754

    Re: Why CP articles are better than CG!

    The issue is the need to upload the images. If the images are put onto the Codeguru server (which needs to be done), then you are going to have to change the URL for the images regardless.

    (Actually you could argue that if relative URLs are used, then that is not so true. Let me raise this to our developers.)

    Brad!
    -----------------------------------------------
    Brad! Jones,
    Yowza Publishing
    LotsOfSoftware, LLC

    -----------------------------------------------

  10. #25
    Join Date
    Jun 2004
    Location
    NH
    Posts
    678

    Re: Why CP articles are better than CG!

    My grievences, are not extensive, but very important.

    A. The updating of the articles was very poor in the past.
    I don't know if its fixed yet, but I will never update another article again, until I know for sure.
    The articles I updated before, ended up changed when published, so that the code no longer worked,
    and the pages were mismatched, some updated, some not.
    The readers have no idea what to make of it.
    It was like pulling teeth, to ATTEMPT to do anything about it.
    I got several emails from people wondering why my code wouldn't even begin to compile.


    B. Please leave our line breaks, EXACTLY where we put them!
    I'm not sure if line breaks are automatcally erased or if the editor is ruining the articles. Sorry if that sounds offensive.
    My recent article looked pretty crappy, and on some pages, the writing went way off into the sunset................
    My big problem, is that everybody is asking me why, I didn't write it correctly. AARRRRG!
    It took me a long time to make sure it was formatting correctly, so that
    the sentences and paragraphs are grouped together, in a semi-professional manner.

    Example of what looks more professional:
    Jack and Jill went up the hill, to fetch a pail of water. Jack
    fell down, and broke his crown.
    Or:
    Jack and Jill went up the hill, to fetch a pail of water.
    Jack fell down, and broke his crown.

    Count to ten.....
    Thank you for listening
    Last edited by TT(n); October 30th, 2009 at 10:29 AM.

  11. #26
    Join Date
    Mar 2003
    Location
    India {Mumbai};
    Posts
    3,871

    Re: Why CP articles are better than CG!

    For both of your points you need to learn basics of HTML!

    <p> or <br> is needed to give a line break or paragraph break. Merely inserting the newline (by Enter key) wont create a newline in webpage. This is similar to using "\n" (or "\r\n") sequence in C/C++ language. Just putting new line like:
    Code:
    printf("This is line one and "
         "this is line two");
    wont create two lines in output (you may need to put '\' after these two string-constants depending on compiler).
    But you must put "\n" to create new lines.
    Code:
    printf("This is line one and \n"
         "this is line two");
    The code files you upload might have been tested in your compiler, and user who downloaded the code might have another compiler, or another version of same compiler/IDE. It's your responsibility to test in various development environments and OSs. You can target most important ones to test, not all.

    The article reviewers won't change the contents of attachments you put. Spelling, grammar and other aesthetics are checked and changed, however - but not code!
    My latest article: Explicating the new C++ standard (C++0x)

    Do rate the posts you find useful.

  12. #27
    Join Date
    Jun 2004
    Location
    NH
    Posts
    678

    Re: Why CP articles are better than CG!

    Sorry that you wrote all that for nothing, but you are totally wrong.

    <p> or <br> is needed to give a line break or paragraph break.
    Obviously.
    The question is, why do they disappear when published by codeguru.

    I use notepad, and I always check and PRE-view my article before publishing.

    Yes, they do change minor things on purpose, and sometimes accidently the compiler they use
    messes up the code {article page code with pre tags}.
    The editor needs to check his/her work, like I do.
    Luckily Hannes is up to the challenge.
    Last edited by TT(n); October 31st, 2009 at 03:28 AM. Reason: emphasize PREVIEW for ajay

  13. #28
    Join Date
    Mar 2003
    Location
    India {Mumbai};
    Posts
    3,871

    Re: Why CP articles are better than CG!

    The question is, why do they disappear when published by codeguru.
    They don't get disappeared! Check to 'Preview' the article in codeguru itself.
    My latest article: Explicating the new C++ standard (C++0x)

    Do rate the posts you find useful.

  14. #29
    Join Date
    Jun 2004
    Location
    NH
    Posts
    678

    Re: Why CP articles are better than CG!

    Hey Ajay,

    Clicking on back doesn't work either, the content is lost!
    That happened to me once, and I was really mad at myself for allowing it to possibly happen.
    This can happen if your internet settings are setup for security.
    It doesn't always occur, but occasionally you'll get logged out, and loose anything you had open.
    Fairly common with PHP forums.
    I don't think they are going to solve this issue, because it's not totally the fault of the forum.
    There may be some steps to minimize this, but I'm not an expert either.

  15. #30
    Join Date
    Jun 2004
    Location
    NH
    Posts
    678

    Re: Why CP articles are better than CG!

    They don't get disappeared! Check to 'Preview' the article in codeguru itself.
    Dude, please don't oppose me, when I actually know what I'm talking about.
    I do pre-view it at the codeguru!
    It can happen.
    It did happen.
    It does happen.
    It would continue to happen if nothing is done about it.
    Last edited by TT(n); October 31st, 2009 at 03:41 AM.

Page 2 of 3 FirstFirst 123 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured