Looking for Contributors
I know from the behind-the-scenes statistics that the C++ content is attracting a lot of traffic and return users, more so than the Wordpress to Drupal converter software. Casually glancing at the figures, I'd say half or thereabouts of the C++ traffic is from educational institutions.
The existing content serves a purpose and clearly explains (my opinion) the topic at hand, which is important when learning C++. Unfortunately, I'm unable to keep the content ticking over at a steady pace and therefore I'm looking for contributors.
Check my site
So, you've converted your site to Drupal, why not let everyone know how it went. Did it go smoothly, did you convert locally or remotely, which version and operating system involved and the number of posts, users etc. Oh, and by all means link to your new site.
- 2 comments
- 123 reads
Code - replace html entities with symbols
As a result of an enquiry from this forum post I followed up with a very quick "pseudo code" version of how to strip HTML entities from code and replace them with their corresponding symbols.
The Drupal Aggregator module also suffers from the fact that post titles are not HTML rendered. Even though the following code is not PHP but rather Realbasic I'm sure any skilled PHP developer should be able to convert/translate to PHP.
Without further ado, here's the code.
-
Function Convert_Html_Code_To_Symbol(pStr as string) As string
-
// Version 1.04 - 2 Jun 2008.
-
// Converts raw text, containing html symbol codes such as (" &) to their numerical equivalents (" &)
-
// The numerical codes are retrieved from 'charactercodes.txt' text file in same directory as this program.
-
// After codes changed to numerical codes then the string can be run through the RegEx converter, changing to symbols.
-
-
Dim intPos as Integer
-
Dim intAmp as integer
-
Dim intSemiColon as integer
-
Dim intLen as Integer
-
Dim strKey as string
-
Dim strReplace as string
-
Dim strDone as string
-
-
Dim x as Integer
-
-
intLen = len(pStr)
-
intAmp = instr(pStr, ";")
-
-
While len(pStr) > 0
-
-
intPos = instr(pStr, "&")
-
-
if intPos = 0 then
-
strDone = strDone + pStr
-
pStr = ""
-
exit while
-
else
-
if intPos > 1 then
-
strDone = strDone + left(pStr,intPos - 1)
Change of Focus
Change of focus as regards IT Self Study. I haven't touched C++ since the start of April, this year, but have every intention of finishing the book. No doubt I will have to cover some old ground just to come up to speed again, if anything, that's the frustrating part.
The question is why I haven't continued with the self-study. At the start of April I got involved with creating this site and then shortly after that decided to update my Realbasic application that converts Wordpress Blogs to Drupal. The whole point I was learing C++, leading towards the GUI aspect, is that I could do away with Realbasic and not be held ransom to their pricing structure.
The change comes as of a few hours ago I ordered my copy of PureBasic. This software package is attractively priced and better still, the price covers all future upgrades. Better still, yet again, I have access to the Windows, Linux, Mac and Amiga versions.
This version of basic is implemented slightly differently than Realbasic and Visual Basic so there will be a slight incline of a learning curve to come to grips with the basics. From what I've read thus far it shouldn't be that difficult.
- Steve's blog
- Login or register to post comments
- Read more
- 31 reads
Version 1.04 - available for download
Version 1.04 - What's in it
The next version (1.04) of the converter will be out soon. This will include some bug fixes and slightly improved progress meter.
The bug fixes are:
- Titles of posts now correctly display symbols whereas as before html code appeared in lieu of the symbol eg.
£appeared instead of the symbol £ and so on. - The same process, as above, is applied to the user name of the comments table.
- Included additional option, the setting of the filter format for comments.
- Corrected the category hierarchy, under certain conditions sub-categories were not being recorded accurately. This has been addressed.
- Comment headings to be created, first four or five words of the comment to be the comment heading.
- Not that this will be overly noticeable, but the thread field of the comments table is now correctly populated with Base 36 (Vancode) numbers.
Improved Progress Window
Created two additional progress bars to the Importing Progress Window. Included now are progress bars relating to comments per post and the assigning of categories to posts. All bars should tick over at a constant rate, at least the user knows something is happening.
Status
The only bug fix left at this stage pertains to the the comment heading aspect. Hopefully that will be addressed within the next few days, when done, I'll upload.
By all means report all problems or issues here.
OpenID is now here
This site is now an OpenID enabled site. What this means is that in order to post comments, download files, create forum posts etc. a login is still required but that is achieved through your OpenID account. This also bypasses the email registration process as you are instantly verified with your OpenID.
For further information here is your starting point.
For user's that have already created accounts and want to login with their OpenID it will be easier to login as per normal and edit your account details. There is now an OpenID tab, simply enter your OpenID. Next time logging in, just use your OpenID.
Wordpress to Drupal 6 - available for download
As promised the Wordpress to Drupal 6.x converter (Version 1.03) is now available for download.
What's new.
- Conversion to 5.x and 6.x
- Filter Formats specifically retrieved from Drupal
- More flexibility re - Content types, Promote to Front page and published
- Teasers created re -
<!--More-->tag - More thorough snapshot of the Wordpress database
For full details see the manual.
Note to self
This falls into the category of 'Note to self'. I use Google Applications (Gmail system) to administer my email but using my domain name "essaytee.com" From that account I can send and receive email from my other domains.
Lately, my email activity died a little, wasn't getting as many as usual and definitely none from my running website (http://superjacent.net). I receive emails when comments are left. Well, comments have been left and yet no emails. Checked the site out, everything was configured as it should be.
As a last resort I logged into cpanel and walla, all email for superjacent.net was being diverted to the blackhole and no forwarding in place. Initially I swore that I set things up correctly the first time.
Back to my email account and I listed all emails pertinent to superjacent.net and the last one received was on 14 May, six days ago. Then it dawned on me. Six days ago I fiddled with superjacent.net domain, had to delete it and re-add so as I could point it to another document root. What I was doing was putting the running site back to the root of superjacent.net rather than a sub-directory. Obviously, when I deleted the domain name it also deleted the email settings as well.
Something to remember for next time.
- Steve's blog
- Login or register to post comments
- 66 reads
On it's way
Wordpress 2.5 to Drupal 6.x, is about to be released. It will be included in the next version, that being 1.03, which will also retain conversion to Drupal 5.x. That is, there will be an option, convert to 5.x or 6.x.
For feature requests by all means ask for them here.
- 6 comments
- 105 reads






Recent comments
11 hours 11 min ago
15 hours 12 min ago
6 days 20 hours ago
1 week 2 days ago
1 week 2 days ago
1 week 2 days ago
1 week 2 days ago
1 week 2 days ago
1 week 2 days ago
1 week 3 days ago