|
I think if we found a way to parse all links for all content that was potentially not-work-safe we'd make a fortune
cheers,
Chris Maunder
CodeProject.com : C++ MVP
|
|
|
|
|
I have C++/MFC selected as my "category", but the various sections are showing C# and articles from other categories in their lists.
"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 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
I checked it out. Some articles are marked under C++ and C#, so it comes up on both.
Trinity: Neo... nobody has ever done this before.
Neo: That's why it's going to work.
|
|
|
|
|
I'm not sure how many people know about Community Credit[^], but it is a pretty cool site. I am a member on the site and after manually adding points for my Code Project forum posts and article discussions, I decided to write an application that will help automate this process.
The app works, but right now it has one limitation due to the way I retrieve the messages from Code Project. Currently, I access the "Latest Comments" page for the specified User ID and parse the html. This works, but it has two problems:
1. If CP ever changes the structure of the page, my app will break.
2. If a user posts more than one 1 page worth of posts for a day, I will only see the first page.
Is there any way to access this information as an XML document through a web service or a specific URL? If I can get the data as XML directly, both of the issues above go away.
On another note, it would be great if CP could integrate with Community Credit and automatically submit points for each forum post and article discussion message. Using the Community Credit web service it would not be difficult to do and I can share the code for my application to help jump start the work.
I will be writing an article on this project once I finish some additional error handling in the app and get some additional information from Community Credit on possibly adding some APIs to the web service.
-----------------------------
In just two days, tomorrow will be yesterday.
|
|
|
|
|
How about make all the CP forums XML based, that way we could build custom clients for the forums, and then Chris could provide us with little ads to put into the apps so that he keeps his fridge full.
Brad
Australian
- Christian Graus on "Best books for VBscript"
A big thick one, so you can whack yourself on the head with it.
|
|
|
|
|
That would be an interesting way to set the forums up, but I think it would take a lot of work. I wanted the XML "feed" from the latest comments page so I could be sure to retrieve all of the posts for a given day. You are actually a good example case, as the number of posts you have for today will possibly span more than one "page".
As far as integrating the posts automatically, this would be easily enough accomplished by changing the submit and reply pages to call the appropriate web service method.
-----------------------------
In just two days, tomorrow will be yesterday.
|
|
|
|
|
Scott Dorman wrote: You are actually a good example case, as the number of posts you have for today will possibly span more than one "page".
You should see this guy called "Christian Graus[^]"!
But a full XML system would mean a much better structure for the forums.
Brad
Australian
- Christian Graus on "Best books for VBscript"
A big thick one, so you can whack yourself on the head with it.
|
|
|
|
|
I have. I'm hoping he sees the original post here and gets some information to me.
Yes, a full XML system would mean better structure for the forums, but it would still be a lot of work to setup properly and port the old data.
-----------------------------
In just two days, tomorrow will be yesterday.
|
|
|
|
|
Scott Dorman wrote: Yes, a full XML system would mean better structure for the forums, but it would still be a lot of work to setup properly and port the old data.
I disagree, Chris could build a query engine that takes the information needed from the database and presents it in an xml fashion. He would then replace the script that currently populates the forums with one that formats the XML.
Brad
Australian
- Christian Graus on "Best books for VBscript"
A big thick one, so you can whack yourself on the head with it.
|
|
|
|
|
How about a generic CommunityCredit Toolbar with a dropdown kind of that could list all the Submission Options. The current URL should be submitted to the selected submission option on the system date and time.
|
|
|
|
|
Something like that would probably work. I was actually thinking of some additional entries in your user profile. That way, the submission would be automatic (if you selected it). Putting the information in the user profile seemed like a cleaner approach since not everyone on CP will have a Community Credit account.
-----------------------------
In just two days, tomorrow will be yesterday.
|
|
|
|
|
Hey All,
I was thinking it would be nice if there was a CP page where we could all post information about books we have read and what we thought about it. I would be happy to set this up for you if you like.
Brad
Australian
- Christian Graus on "Best books for VBscript"
A big thick one, so you can whack yourself on the head with it.
|
|
|
|
|
Something like this[^]?
cheers,
Chris Maunder
CodeProject.com : C++ MVP
|
|
|
|
|
That was fast
Brad
Australian
- Christian Graus on "Best books for VBscript"
A big thick one, so you can whack yourself on the head with it.
|
|
|
|
|
The hardest bit was putting together all those reviews in under 12 minutes to make it look like it's something we'd always had rather than just something I whipped together on the spot.
cheers,
Chris Maunder
CodeProject.com : C++ MVP
|
|
|
|
|
Oh you wrote those, I thought it was your 3,722,024 members swarming in to get the first post
Brad
Australian
- Christian Graus on "Best books for VBscript"
A big thick one, so you can whack yourself on the head with it.
|
|
|
|
|
|
Hmmm...like a wiki style article so we can all post info on books, and tools and ad-infinitum. Seems like someone posted that suggested some time ago in this very forum!
|
|
|
|
|
We've (internally) been talking about wiki-style articles for a long, long time. The problem that we are trying to get past is pretty much summed up by visiting this section[^]. Some unedited contributions are awesome, some are just plain terrible.
How do you police this? How do you ensure that an entry created by one person isn't savaged (both in content and format) by someone else? Do you only allow those who have a track record of good posts to edit/append a current article? Who gets credit for an entry? What if someone comes along and adds one word to each entry in order to get their name on it? If we have no credit given to entries then will that remove motivation? Our ability to reward authors?
cheers,
Chris Maunder
CodeProject.com : C++ MVP
|
|
|
|
|
Well there is a model out there that has worked for some time, perhaps we can come up with something even better. Database storage is cheap these days, I can see keeping a snapshot of every version when it's edited and a log of who did each edit. Such that a person can click on each log and see the state it was in when that person made the changes.
Even better just keep a snapshot of the diff.
|
|
|
|
|
I definitely feel the wiki model needs improving. Snapshots and rolling back are easy to implement but what if they aren't used? What if we have one member who wants to just cause havoc and continually deface a page (the forums some days are bad enough).
We need something that:
- allows new members to contribute. Many members have been reading for years without submitting and they can have absolute gems of wisdom. Rank-based submission restrictions shouldn't apply
- recognises who has made contributions and potentially allows those contributions to be rated and awarded
- allows community policing of content and of modifications to content
- discourages or makes difficult the the defacing of material
cheers,
Chris Maunder
CodeProject.com : C++ MVP
|
|
|
|
|
Sounds like a bit of a challenge, however I would venture to guess that there would be less vandalism on article wiki's than on the forums.
Maybe a model where contributors can grant the right to edit to people who ask:
First person starts a wiki. Another person comes along and want's to contribute, they click on a link and tell the first person that they want to contribute, first person allows it. Now the first two people can grant the right to anyone who asks etc etc down the line.
That way not just anyone can jump in and mess it up, only contributors can allow other contributors so there is a vested interest in vetting them. Because any contributor can grant rights to another member to contribute there is no danger of losing the ability for anyone to contribute if whoever started the page drifts off.
Also there is a log showing who allowed what and finally there should be a snapshot system to reverse damage inadvertant or deliberate, but maybe only the last three edits or something so as not to eat up too much storage.
Any prior contributor can restore from latest snapshot or maybe the person who last edited can restore to their point or something.
Ideally it would be good to make an object model with a lot of security built in but start with it as open as possible at first, see what transpires, then if necessary you can tighten it up with the pre-planned and coded security one level at a time, saving a hasty change later on down the road.
As far as recognizing who has made contributions and the rating and award for this I'm not sure how you could accomplish that. Ideally you don't want to have to track every keystroke and you don't want to go to a stack system with new items added to the top or bottom of the "stack", or maybe you do, but that's not a wiki anymore.
Overall security:
I think the fundamental solution to a lot of vandalism woes is a simple system of giving more trust to longer term members. What you really need in place is an automatic profiling system, it's pretty easy to determine which accounts are more of a risk, lot's of factors like age of account, how active it is, how many of their posts were flagged as spam or abusive, have they created an article that is rated above a 1 and is not in the "doghouse" etc etc.
I would create a profiling system so that you can build a trust profile for users and if they score low on the trust profile then they may have to get permission from someone to do stuff, if they score high then they should be able to do more.
|
|
|
|
|
Sounds a lot like raising kids.
Chris Meech
I am Canadian. [heard in a local bar]
I agree with you that my argument is useless. [Red Stateler]
Hey, I am part of a special bread, we are called smart people [Captain See Sharp]
The zen of the soapbox is hard to attain...[Jörgen Sigvardsson]
I wish I could remember what it was like to only have a short term memory.[David Kentley]
|
|
|
|
|
John Cardinal wrote: Also there is a log showing who allowed what and finally there should be a snapshot system to reverse damage inadvertant or deliberate, but maybe only the last three edits or something so as not to eat up too much storage.
You're doomed in the face of deliberate damage if you go that way. All the wrecker needs to do is make enough resubmits after his initial attack that the good version is pushed out of the buffer.
--
Rules of thumb should not be taken for the whole hand.
|
|
|
|
|
Just wondering -
Like VC++ discussion board, do we need - "How to get an answer to your question" in ATL and COM discussion board?
Most recent post I saw was a request for VBScript code placed in ATL discussion board!
These posts simply push down other relevant threads on these disussion boards.
"Why am I concerned about these discussion boards?"
- because I have replied to such posts couple of times with indications about wrong forum
- I always visit these discussion boards besides lounge
Now, I hope I am posting this message in correct forum
-- modified --
Poor communication on my part. What I meant was "How to get an answer to your question" is missing in ATL COM discussion board. I was seeking your opinion about having "How to get an answer to your question" in ATL and COM discussion boards as well because there are many irrelevant posts or cross posts in these forums as well.
S o h a i l K a d i w a l a
To Err Is Human; to Debug, Divine
modified 21-Apr-21 21:01pm.
|
|
|
|