|
Of those the only ones that have successfully pulled recently and are current have a CodeProject category. Can you please try adding that as well?
<category><![CDATA[CodeProject]]></category>
Thanks,
Sean Ewington
CodeProject
|
|
|
|
|
It seems that for WordPress this category tag is added once you set a new tag. So I have done it for my last article.
<title>CodeProject Statistics Calculator Using WebDriver</title>
<link>https://automatetheplanet.com/codeproject-statistics-calculator/</link>
<comments>https://automatetheplanet.com/codeproject-statistics-calculator/#respond</comments>
<pubDate>Thu, 05 Jan 2017 20:41:50 +0000</pubDate>
<dc:creator><![CDATA[Anton Angelov]]></dc:creator>
<category><![CDATA[AutomationTools]]></category>
<category><![CDATA[.NET]]></category>
<category><![CDATA[Automation]]></category>
<category><![CDATA[C#]]></category>
<category><![CDATA[CodeProject]]></category>
<category><![CDATA[QA]]></category>
<category><![CDATA[Tools]]></category>
<category><![CDATA[WebDriver]]></category>
Maybe now it will work?
|
|
|
|
|
Still Error. I've consulted a higher power.
Thanks,
Sean Ewington
CodeProject
|
|
|
|
|
Thank you, for the help. Please, update me as soon as you have any news.
|
|
|
|
|
The higher powers say we’re getting an error 403 "Forbidden" when we try and download your blog.
Thanks,
Sean Ewington
CodeProject
|
|
|
|
|
Hmm, I see. I immediately wrote to my high powers. And to fix the problem need the following info: do you use some kind of scraper or just read the RSS to fetch the info? What is the user-agent string? I think my high powers need the info the configure the security settings of the site correctly.
Thanks.
|
|
|
|
|
We read the RSS directly. We don't pass a UserAgent but can pass whatever's needed if that helps.
cheers
Chris Maunder
|
|
|
|
|
I discussed the problem with my developer. He turned off all new security settings for the new site. Can you try to download the RSS now to see how it goes?
Thanks!
|
|
|
|
|
Error
Thanks,
Sean Ewington
CodeProject
|
|
|
|
|
I built a C# app to reproduce the problem. My developer was able to find the problem. It was that there was a security check to block all get requests that don't provide user agent because it marks them as bots. To fix the problem, we stop the check, and my blog was consumed.
Thank you for all of the help!
|
|
|
|
|
How about we add a UserAgent string so you can put back the bot check? It's only fair
cheers
Chris Maunder
|
|
|
|
|
Yeah, this will be great! Thanks.
|
|
|
|
|
Easy fix. It'll be live in a day or so
cheers
Chris Maunder
|
|
|
|
|
Apparently I got 8 points for a single download on one of my articles. Looks like the downloads are weighted, even though that isn't specified by the "Member Reputation System" page, so it's probably a bug.
The quick brown ProgramFOX jumps right over the Lazy<Dog> .
|
|
|
|
|
Hi CP
I've received no email notifications for new posts in 2017. On the other hand I have received notifications for replies to my posts.
Is it me or is it you?
ps. I have checked my spam folder and they are not there.
pps. I have been receiving Daily Build emails just fine.
|
|
|
|
|
Do you mean new posts to the forums attached to your articles?
cheers
Chris Maunder
|
|
|
|
|
|
I was not active on CP for quite some while. Now that I looked into some of my articles/tips, I noticed that some a bit "advanced" formatting got completely screwed up in the last two years or so.
E.g. highlighting, line numbering, background/foreground color got corrupt.
See Invent your own Dynamic LINQ parser[^] at the end of the first pre-block (span...highlight is verbatim instead of html/css directive).
I also have on several places used the foreground/background colors to emulate console output with black background and white text. See the same article above in the pre-block after "The output is:".
The feature of line numbering of code snippets also got silently removed. Why? I some times refer in the text to these lines.
Basically all my articles/tips are affected since I took benefit of these features those days when they were functional...
Any remedy in sight?
Thanks
Andi
|
|
|
|
|
Try as I might, I can't seem to get highlighting back into that pre block. It used to be there though, correct?
Thanks,
Sean Ewington
CodeProject
|
|
|
|
|
Indeed the highlight (yellowish background) seems to cause this.
The same defect is seen in version 2+ code blocks where I've tried to highlight the changes compared to previous versions: Properly executing database operations
|
|
|
|
|
Found and fixed and will deploy once I've finished testing
cheers
Chris Maunder
|
|
|
|
|
Thanks!
Looking forward!
Cheers
Andi
|
|
|
|
|
|
Hello Chris,
the highlighting works at places where the article sources did not get screwed up themselves somehow. E.g. see Invent your own Dynamic LINQ parser[^] at the first pre-block. The source view shows that the embedded highlighting in the pre-block got converted over time into plain code... (likewise other highlighting in the same article and others of mine).
The other similar issue is about background color. I did use to simulate console output by giving the foreground color white and the background color black in some pre-block. This used to work in the (distant?) past. Now, it looks like it's kind of filtered: the foreground color is still respected, the background got removed completely. You seem to have some stripping/processing/whatever machinery that processes ***existing*** articles once in a while (my interpretation of the situation). E.g. see Escaping in C#: characters, strings, string formats, keywords, identifiers[^], the pre-block after "results in" used to be started like <pre lang="text" style="background:black;color:white;">... but now is truncated to <pre lang="text" style="color: white"> .
Finally, the pre-block attributes countlines and countstart got stripped off somehow from the sources... E.g. see my History section, V1.2 comment in Invent your own Dynamic LINQ parser[^].
Are these any deprecated features?
Regards
Andi
|
|
|
|
|
Looks like lots of your &span> tags were being HTML encoded. I've fixed these.
Background colour should be set using background-color, not background. We don't allow background because it's too difficult to sanitise safely.
With regards to countlines: these were being stripped out but I've added them back to the "allow" list. Which blocks do you want to have with line counts?
cheers
Chris Maunder
|
|
|
|