|
Hi,
Apologies if this is addressed elsewhere, I haven't been able to turn anything up.
I just posted an article (http://www.codeproject.com/KB/architecture/di-with-autofac.aspx) that uses ids to implement a table of contents. It seems like the article submission wizard is stripping the id="..." attributes off of the headings.
Any suggestions?
Thanks in advance,
Nick
|
|
|
|
|
ID's aren't what you want. You need to use <a name="anchor>...</a> to set bookmarks for use in tables of contents
cheers,
Chris Maunder
CodeProject.com : C++ MVP
|
|
|
|
|
Thanks, Chris, I'll give that a shot!
Cheers
Nick
|
|
|
|
|
The same way there is an approve button, shouldn't there be a reject button? Only I don't think its fair that articles should approved of rejected out of hand, say by the first 5 or so members? Because honestly, its a chore looking at some of these 'articles' which are nothing more than labeled templates.
"Every time Lotus Notes starts up, somewhere a puppy, a kitten, a lamb, and a baby seal are killed. Lotus Notes is a conspiracy by the forces of Satan to drive us over the brink into madness. The CRC-32 for each file in the installation includes the numbers 666." Gary Wheeler
"The secret to a long and healthy life is simple. Don't get ill and don't die." Pete O'Hanlon, courtesy of Rama
"I realised that all of my best anecdotes started with "So there we were, pissed". Pete O'Hanlon
|
|
|
|
|
I would suggest an article gets rejected if its has been viewed N times (say 100) and
never accepted for public view in that time. That way the queue empties itself no matter what.
Luc Pattyn [Forum Guidelines] [My Articles]
This month's tips:
- before you ask a question here, search CodeProject, then Google;
- the quality and detail of your question reflects on the effectiveness of the help you are likely to get;
- use PRE tags to preserve formatting when showing multi-line code snippets.
|
|
|
|
|
That's certainly one way to do it, but my way provides more satisfaction
Either way, the whole point is to assist in emptying the queue as fast as possible.
"Every time Lotus Notes starts up, somewhere a puppy, a kitten, a lamb, and a baby seal are killed. Lotus Notes is a conspiracy by the forces of Satan to drive us over the brink into madness. The CRC-32 for each file in the installation includes the numbers 666." Gary Wheeler
"The secret to a long and healthy life is simple. Don't get ill and don't die." Pete O'Hanlon, courtesy of Rama
"I realised that all of my best anecdotes started with "So there we were, pissed". Pete O'Hanlon
|
|
|
|
|
Mustafa Ismail Mustafa wrote: Either way, the whole point is to assist in emptying the queue as fast as possible.
True. But I believe CP Team is having 'Publish' only because no innocent article should be dropped inadvertantly. Perhaps, they can associate number of button clicks by Gold member and number of button clicks by Platinum member and then decided on 'Publish'/'Reject' route.
Wouldn't that be a viable option?
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
Vasudevan Deepak K wrote: I believe CP Team is having 'Publish' only because no innocent article should be dropped inadvertantly.
That speaks sense and I think Chris meant just that (after reading his explanation below).
"Every time Lotus Notes starts up, somewhere a puppy, a kitten, a lamb, and a baby seal are killed. Lotus Notes is a conspiracy by the forces of Satan to drive us over the brink into madness. The CRC-32 for each file in the installation includes the numbers 666." Gary Wheeler
"You're an idiot." John Simmons, THE Outlaw programmer
"I realised that all of my best anecdotes started with "So there we were, pissed". Pete O'Hanlon
|
|
|
|
|
Mustafa Ismail Mustafa wrote: Because honestly, its a chore looking at some of these 'articles' which are nothing more than labeled templates
We're offering you a chance to help out the rest of the community by filtering out those articles that simply are not suitable for publishing. We appreciate whatever help you can provide but if it's a chore for you then please feel no obligation to exercise the option to help out.
cheers,
Chris Maunder
CodeProject.com : C++ MVP
|
|
|
|
|
Chris Maunder wrote: by filtering out those articles that simply are not suitable for publishing
there is a flaw in the logic: if the readers are to help get rid of substandard articles
there should be a reject button, not an accept button.
Right now if I don't like an article at all, I vote 1 and I report, which is a lot of
clicks and several page reloads.
So I would suggest you provide a "vote down" button, and after N down votes by different
gold/platinum members the article is gone.
Luc Pattyn [Forum Guidelines] [My Articles]
This month's tips:
- before you ask a question here, search CodeProject, then Google;
- the quality and detail of your question reflects on the effectiveness of the help you are likely to get;
- use PRE tags to preserve formatting when showing multi-line code snippets.
|
|
|
|
|
Luc Pattyn wrote: if the readers are to help get rid of substandard articles
A subtelty here: I'm not asking readers to 'get rid of' substandard articles. I'm specifically asking them to approve only those that are appropriate. Many substandard articles are deemed substandard because of formatting or language issues. I'll often check out an article that has been not approved, read it, and if it's reasonable and of possible value I'll reformat and let it sit a little longer. Sometimes this can make an unacceptable article an acceptable one.
In this case a "Reject" article would not add any value to the process.
Luc Pattyn wrote: Right now if I don't like an article at all, I vote 1 and I report,
There's no need: Just don't click the 'accept' button. If it's truly not acceptable we'll catch it within a day or so.
cheers,
Chris Maunder
CodeProject.com : C++ MVP
|
|
|
|
|
Chris Maunder wrote: we'll catch it within a day or so.
it would be nice to not show them again to a prior visitor; when I visit CP home page
a couple of times a day, I tend to view each of those articles, often seeing the same
one more than once because I can't remember all those strange titles (I noticed a lot of
substandard articles have bizar and often very short titles).
So maybe you could provide an "I don't want to see this ever again" button then?
Added bonus: I sometimes am inclined to accept an article, that I would (or do) vote a 2,
because it is not a bogus article but not a good one either, and I want to get it out of the
way. Giving me the "I don't want to see this ever again" button would keep me from being
so forgiving ...
Luc Pattyn [Forum Guidelines] [My Articles]
This month's tips:
- before you ask a question here, search CodeProject, then Google;
- the quality and detail of your question reflects on the effectiveness of the help you are likely to get;
- use PRE tags to preserve formatting when showing multi-line code snippets.
|
|
|
|
|
That's a good idea.
If we can do this in a way that doesn't add too much to the database load then we'll implement this.
Good one.
cheers,
Chris Maunder
CodeProject.com : C++ MVP
|
|
|
|
|
Oh no Chris! Please don't misunderstand me! I'm privileged to be helping out, I'm glad I am! I didn't mean to imply that it was a chore per se, I just meant that the quality of the stuff I saw since we've been allowed to help out has been below par.
"Every time Lotus Notes starts up, somewhere a puppy, a kitten, a lamb, and a baby seal are killed. Lotus Notes is a conspiracy by the forces of Satan to drive us over the brink into madness. The CRC-32 for each file in the installation includes the numbers 666." Gary Wheeler
"You're an idiot." John Simmons, THE Outlaw programmer
"I realised that all of my best anecdotes started with "So there we were, pissed". Pete O'Hanlon
|
|
|
|
|
Mustafa Ismail Mustafa wrote: the quality of the stuff I saw since we've been allowed to help out has been below par
That's because we're now highlighting it
Just do whatever you have the time and energy to do. We appreciate everything and anything you can do.
cheers,
Chris Maunder
CodeProject.com : C++ MVP
|
|
|
|
|
It would appear the LAMP site is having some.... issues. Please fix. Now.
Brad
Australian
The PHP MVP
- Christian Graus on "Best books for VBscript"
A big thick one, so you can whack yourself on the head with it.
|
|
|
|
|
A DNS mixup. Should be good now
cheers,
Chris Maunder
CodeProject.com : C++ MVP
|
|
|
|
|
It will be good if a modified post is displayed on top in CP .i.e if a post is modified it is to be treated as new post and if necessary the old post can be deleted. This can reduce spamming or reposting whatever...
.....
|
|
|
|
|
Unfortunately this would mean The Battle Of The Messages.
When someone felt they were not getting enough loving they would edit their message and pop it to the top. Someone else would edit theirs and you would get the same messages cycling again and again
cheers,
Chris Maunder
CodeProject.com : C++ MVP
|
|
|
|
|
Well, with all these idiots spending their time re-editing their messages, maybe they would have less time to submit crap articles.
|
|
|
|
|
Can we have a RSS feed on C/C++ forum?
Steve
|
|
|
|
|
Can't edit post below in IE (I'm using IE7)! The edit button has been pushed to the right and there are no scrollbars.
Steve
|
|
|
|
|
there you go
cheers,
Chris Maunder
CodeProject.com : C++ MVP
|
|
|
|
|
I keep getting script errors here:
<!--Begin JSERVER Skip--><iframe src="http://view.atdmt.com/MRT/iview/thcdpyou0230000825mrt/direct/01?click=http://codep.adbureau.net/accipiter/adclick/CID=000000c70000000000000000/acc_random=9945880394/aamsz=728x90/pageid=3106933548/relocate=" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" topmargin="0" leftmargin="0" allowtransparency="true" width="728" height="90">
document.write('<a href="http://codep.adbureau.net/accipiter/adclick/CID=000000c70000000000000000/acc_random=9945880394/aamsz=728x90/pageid=3106933548" target="_blank"><img src="http://view.atdmt.com/MRT/view/thcdpyou0230000825mrt/direct/01/"/></a>');
<noscript><a href="http://codep.adbureau.net/accipiter/adclick/CID=000000c70000000000000000/acc_random=9945880394/aamsz=728x90/pageid=3106933548" target="_blank"><img border="0" src="http://view.atdmt.com/MRT/view/thcdpyou0230000825mrt/direct/01/" /></a></noscript></iframe><!--End JSERVER Skip-->
document.write(" ");
document.close();
Steve
modified on Friday, April 18, 2008 7:30 AM
|
|
|
|
|
This is due to our new ad serving system. We've been trying every avenue we can to get this fixed but there seems to be a difficulty on the Atlas side of things so we just pulled the ad.
cheers,
Chris Maunder
CodeProject.com : C++ MVP
|
|
|
|