Friday 4 December 2009

Wordpressing

This morning I looked up what 'trackbacks' and 'pingbacks' were. I tried doing a pingback on my blog by linking to one post from another post, and it worked.

The pingback appeared like a normal comment on the blogpost though, so I wanted to change it to make it more obvious it was a pingback rather than a comment. I did some googling, but all the articles seemed to be about separating pingbacks/trackbacks from comments completely - I didn't want to do this as I still wanted pingbacks and trackbacks to appear with the other comments, but to have a different appearance.

Then I found there was a wordpress function called comment_type, which echoes out the type of comment. Unfortunately I couldn't see anything on the Wordpress codex on how to get the comment type rather than just print it. But googling for 'Wordpress get comment type' revealed that there is indeed a get_comment_type() function, that returns the comment type rather than just printing it.

I had quite a bad headache, so I went to bed from about 10am until lunchtime, then went to bed again after lunch.

After I'd been in bed quite a while I started to feel a bit better (I think a couple of Ibuprofen with a meal, then going to bed for a couple of hours is the best way to get rid of a bad headache).

I went back on my comp to do some more work on my photo website blog. I wondered if there was a way of getting a gravatar to appear on pingbacks. It seems there is, though you can't make other's gravatars appear on your blog, you can make your appear on others: making your gravatar work with pingbacks, though I must admit I haven't actually tried it yet.

I also tried installing a few more browsers - Flock, Amaya, and Conkeror. Flock is a social/lifestream style browser, based on Gecko. Amaya is the W3C browser, which it seems is designed for editing pages rather than browsing (at least I couldn't work out how to get links in a page to work), and Conkeror is another Gecko based browser, but it doesn't have buttons, menus etc. and you navigate using the keyboard.

In Flock it has a Feed icon near the address bar, but for my blog it wasn't highlighted like it should be. The Feed icon showed up in Firefox okay though. I had a look at Moose Peterson's blog, (which did highlight the Feed icon in Flock), and saw that he had an atom feed as well as an RSS feed. So I tried adding an atom feed to my site, but it still highlight the Feed icon in Flock.

I couldn't see any other differences in the feed links between my blog and Moose Petersons, and googling about feeds not showing in Flock just brought up reports of problems where all feeds weren't showing up, rather than just for one site.

I checked my email, and had had an email from Sitepoint offering 'The Web Site Revenue Maximizer Kit' + 'Online Marketing Inside Out PDF' + '31 Days To Build A Better Blog', total value $226.95 according to the website, but $99 today. I tried to find some reviews of 'The Web Site Revenue Maximizer Kit', but only found 2 reviews by independent people. One said it was worth the money (and that was at $200), but the other (which wasn't a review of the Kit, but rather the free chapters) said it wasn't worth it as all the info is available free on ProBlogger.net.

So I looked on ProBlogger.net, and found that the guy who runs it, Darren Rowse's (who the Sitepoint "31 Days To Build A Better Blog' book is by) blog that isn't about blogging is about photography. So I had a look at that, and it was quite interesting. It wasn't as blatantly affiliate links as Roy Barker's profitable photography website/blog though, and I thought the articles were much better than the ones Roy has as well.

After dinner I played on New Super Mario Bros Wii quite a bit with Moccle and L, watched part of a Stephen Chow Kung fu film with Moccle and L, and minimized the CSS and js that I hadn't already minimized for my photo website.

I now need to test the website in all browsers again in case minimizing the css/js has messed anything up (actually I already found one thing it's broken). But it's after 10pm, and that will take quite a while, so I'll do that tomorrow.

The weather was sunny in the morning then overcast in the afternoon, and rainy in the evening.

Food
Breakfast: Grapefruit marmalade toast sandwich; mug of honey & lemon drink.
Lunch: Ham sandwich; Satsuma; cup o' tea.
Dinner: Battered fish portion; potatoes; baked beans; ground black pepper. Pudding was 2x large home-made double chocolate cookies. Coffee.

No comments: