Archive for the ‘WordPress’ Category
Posted by jpluimers on 2012/02/23
Please one of the WordPress.com support people, contact me through my contact form.
I tried posting this question, but as you can see it is marked as ‘Topic Closed, This topic has been closed to new replies’, and looks empty on your forums’:
Please stop deleting the XML from my
</h1>
Since WordPress deletes anything but the most basic XML from
tags:
See https://wiert.me/wp-content/uploads/2012/02/wordpress-html.doc
When I put that in a WordPress post, it deletes the XML.
It does this for anything but the most basic XML.
Please fix that!
–jeroen
Thanks in advance!
–jeroen
Posted in Development, SocialMedia, Software Development, Web Development, WordPress, WordPress | 2 Comments »
Posted by jpluimers on 2011/01/18
In the past I wrote a few blog posts on posting sourcecode in WordPress.
Nick Hodges‘ last Flotsam and Jetsam blog post pointed me to the SyntaxHighlighter JavaScript that is used by WordPress and many other engines/sites.
Their site contains an even more elaborate list of supported languages.
I had the basic list right in my last post, but was missing all the aliases (which often are easier than the longer proper names).
This is the new table adapted from their list: Read the rest of this entry »
Posted in .NET, Batch-Files, C#, CSS, Database Development, Delphi, Delphi for PHP, Development, HTML, HTML5, Java, PowerShell, RegEx, Scripting, SQL, VBS, Web Development, WordPress, XML, XML/XSD, XSD | 5 Comments »
Posted by jpluimers on 2010/10/15
WordPress Page Order is a number increasing from left to right.
You can have holes in the number sequence.
So, back to the BASIC and FORRAN line numbering schemes (increment bij 100, 10, or you name it).
–jeroen
via: Pages « WordPress Codex.
Posted in Development, Software Development, Web Development, WordPress | Leave a Comment »
Posted by jpluimers on 2010/07/07
Last week, Jean-Baptiste Jung started a bit of a stir when posting on Smashing Magazine about 10 Useful WordPress Security Tweaks.
He totally missed the official Hardening WordPress page and generated a lot of comment traffic.
All of his tweaks were rebutted by commenter Vid Luther (Mobile Commerce and Technology Evangelist and ZippyKid owner) in a separate How to Secure a WordPress Site.
This once again shows that for serious work you really need to know what you are doing.
If you don’t, then leave the work to people who do: Vid is one of those guys.
–jeroen
via: 10 Useful WordPress Security Tweaks – Smashing Magazine.
Posted in Development, Software Development, Web Development, WordPress | Leave a Comment »
Posted by jpluimers on 2010/02/15
I just found out that the sourcecode tag in WordPress now supports even more languages.
This is the list of languages is below, it contains links to Wikipedia for each language.
Starred ones (bold and hyperlinks in this theme are the same ) are new since my post last year.
This is a follow up on the original article Including formatted sourcecode in WordPress « The Wiert Corner – Jeroen Pluimers’ irregular stream of Wiert stuff.
–jeroen
Posted in .NET, C#, CSS, Database Development, Delphi, Development, Encoding, Java, Software Development, SQL Server, Web Development, WordPress, XML, XML/XSD | Tagged: sourcecode language | 2 Comments »
Posted by jpluimers on 2009/07/16
I just found out that in my updates to TFS 2008 Folder Comparison Filter for both C# and Delphi projects somehow some backslashes (\) were missing.
Oops, sorry :-)
These backslashes are important when excluding directories: if omitted, TFS thinks you want to exclude a filename in stead of a directory name (see Folder Comparison Filters).
It might be due to the HTML pasting issue that I explained in Including formatted sourcecode in WordPress.
Anyway, here is the correct one that has the backslashes at the right places:
!*.pdb;!*.obj;!*.dll;!*.exe;!*.res;!*.resources;!*.cache;!*.ilk;!*.ncb;!obj\;!objd\;!bin\;!lib\;!*.local;!*.identcache;!*.dcu;!__history\;!*.dsk;!*.~*;!*.stat;!*.drc;!*.map;!*.csproj.user;!*.vbproj.user;!*.csproj.webinfo;!*.vbproj.webinfo;!*.suo;!*.bpl;!*.dcp;!*.log;!*.lck
(Note these all should be on one line when pasting them).
–jeroen
Posted in .NET, C# 2.0, C# 3.0, Delphi, Development, Prism, Software Development, Source Code Management, TFS (Team Foundation System), WordPress | Leave a Comment »
Posted by jpluimers on 2009/04/22
Since I’m quite new to WordPress it is a learn as-I-go process (sounds familiar huh?) and a major goal of this blog is to keep track of things so that I don’t forget them:
Including formatted code in your blog is easy, WordPress has a FAQ about it!
Basically it comes down to adding the sourcecode shortcode and then make sure the language attribute has the right value.
But there are some gotcha’s that are not in the FAQ:
- paste the
sourcecode shortcode as “plain text” (or in the HTML editor) otherwise it will get span tags around it and not render as code
- C# has
language code csharp (if you use a non-existing language code, it will not render as code either)
The language codes I will probably use most are csharp and delphi, followed by xml and sql and maybe some css and html.
In your editor, you will then see something like this:
Read the rest of this entry »
Posted in Development, WordPress | Tagged: sourcecode language | 8 Comments »