|
Randor wrote: that is easy to say for someone spending 10% of his day
A valid point, it's now a few years since I first started using it.
Randor wrote: there is *always* room for improvement
Again very true, although I do take the view that the cost of CodeProject is such that it is difficult (for me) to justify too much criticism.
Unrequited desire is character building. OriginalGriff
I'm sitting here giving you a standing ovation - Len Goodman
|
|
|
|
|
Chris Maunder wrote: If you had placed the code in a PRE block then our pre-processor / HTML Tidy-up code will auto-encode the < entity and so you would get
Chris,
I did have the code wrapped within a <pre lang="c++"> tag. In fact... I am testing it right now and cannot get the behavior you are describing when pasting as Text. In other words... even if I have the PRE tag its modifying the c++ code.
Should I be pasting as 'Text + encoded HTML'? The preview looks correct if I paste with this format.
Best Wishes,
-David Delaune
|
|
|
|
|
Since I've written 3 articles in the past couple of weeks, I've found the easiest route to authoring articles is the following:
* Choose a markdown editor of your choice (I use MarkdownPad).
* Write the article in markdown on your own PC.
* Export as HTML, then paste everything inside the body tags into the CodeProject editor
* Add the finishing touches, and adjust image/zip links as necessary.
* Have a cup of tea.
I can imagine that the challenge of using Markdown as the method of submission is a huge challenge on the back-end of CodeProject, especially when regenerating markdown for article updates. Markdown would be nice, but as you say, it's not as rich as HTML.
You could always add some checks for the usual suspect keywords such as map, vector, list, shared_ptr and so on followed with a < , to at least give the article write some cursory warning of a potential problem. Or do the reverse: have a list of all HTML elements: p, table, thead, img, etc. and perhaps pattern match against them, and anything that doesn't match, flag up and warn.
Regards,
Barry
|
|
|
|
|
Barry Lapthorn wrote: Or do the reverse: have a list of all HTML elements: p, table, thead, img, etc. and perhaps pattern match against them, and anything that doesn't match, flag up and warn.
That's essentially what I've done - at least within PRE blocks. Anything that smell like a HTML tag that isn't among the anointed gets encoded.
Converting from HTML to Markdown wouldn't necessarily be an issue because we'd simply keep the back-end text as the original markdown. It would mean no WYSIWYG editor if you chose Markdown, but I don't think those who used Markdown would care (as long as the editor provided shortcuts and helper menus)
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
Chris Maunder wrote: Converting from HTML to Markdown wouldn't necessarily be an issue because we'd simply keep the back-end text as the original markdown.
@chris: that's good to know - I've written some CP articles recently using markdown and the steps are: markdown, export to HTML, post to CP, then *add language type* to syntax highlight code snippets: meaning that you can't author a CP article purely in markdown if you want to have code snippets syntactically highlighted (I think!!). I know markdown supports embedded html, but I think what you've already done works sufficiently
Regards,
Barry
|
|
|
|
|
Basically this is my laziness to move my hands from keyboard to mouse (or use two hands to press Alt+F4), but it would be nice if the copy code window which opens from a pre-tagged code block could be closed by pressing Esc.
|
|
|
|
|
See if we can provide list of members who viewed the question.
|
|
|
|
|
Now what would be the benefit of that?
- I don't see any sense in a feature such as this.
- Why would anybody want to be this nosy?
- Could be easily defeated by browsing CP anonymously.
Manfred
"With sufficient thrust, pigs fly just fine."
Ross Callon, The Twelve Networking Truths, RFC1925
|
|
|
|
|
Rahul Dhoble wrote: See if we can provide list of members who viewed the question. You want to see the list with or without paging?
If you want to see the questions by type, here you go Popular[^], Top Rated[^]
|
|
|
|
|
I know it may a very big list and just checking if we can add this cool option in our portal
|
|
|
|
|
You still haven't mentioned why anybody would want to know this.
What is to be gained by a feature such as this and why would I want you to know if I read a question.
All I can see is this unfortunate scenario:
- OP posts question
- OP returns later to see who viewed his question
- OP pesters everybody on the that list in order to garner some support.
- Some tortured souls who had answered to OP's question go through the list and pester everybody who only viewed that question with even more obnoxios requests to have a look at their solutions. (Still the SAme I shall drop no name!)
Cheers!
Manfred
"With sufficient thrust, pigs fly just fine."
Ross Callon, The Twelve Networking Truths, RFC1925
modified 30-Dec-11 10:35am.
|
|
|
|
|
I'm Sure Anybody Kould read your unnamed kall out very easily...
Ideological Purity is no substitute for being able to stick your thumb down a pipe to stop the water
|
|
|
|
|
|
No, Actually the 1st line in my message is sarcastic one, Yes I agree with Manfred.
|
|
|
|
|
I can't see how anyone would benefit from this: for example, I view many questions I do not answer because the tags are missing, or I didn't read them correctly, and the question is on a subject I am not familiar with. How would it help anyone to know that I viewed your question?
Ideological Purity is no substitute for being able to stick your thumb down a pipe to stop the water
|
|
|
|
|
Are you and dr.kitanjal[^] the same person?
The posting behaviour (of solutions) to this question[^] looked odd, one answer deleted under one user account and resubmitted under another user account.
Then looking back at some messages from a couple of weeks back there was activity from around the same time and same sort of daft questions being asked.
I have my suspicions....
|
|
|
|
|
No
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
Succinct and to the point!
Ideological Purity is no substitute for being able to stick your thumb down a pipe to stop the water
|
|
|
|
|
Far too wordy. Could you not have summarised that a bit?
|
|
|
|
|
Is there any such option by setting which we can get the email notification when a new question added to this portal and also have tag define by user . Like If I set search criteria as "SQL SERVER" then whenever a new question added with this tag then I should get email notification.
Is there any such option in Codeproject ? I know there is one option but that is not triggered when new question added.
|
|
|
|
|
I believe you can subscribe to an RSS feed.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997
|
|
|
|
|
Can you route me to this option ?
|
|
|
|
|
Not yet but we're working on it
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
Thanks . Let me know once it deployed on portal
|
|
|
|
|
It make no sense at all to combine these 2 subject in the same forum. There are mainly 2 separate worlds.
Philippe Mori
|
|
|
|