Posts Tagged ‘php’

Get Your Latest Tweet with PHP

Sunday, May 23rd, 2010

The following code uses the SimpleXML extension so it requires PHP5. What it does is search through the XML output of search results for a given user name on Twitter. The version of the code below is set up to bypass Tweets beginning with "@" indicating an @ reply message. This behavior should be simple ...

Add Images to Your WordPress Summary Feed

Monday, August 31st, 2009
wordpress

There are different reasons to use excerpts instead of full content in your rss feeds, Such as discouraging sploggers from stealing your content, and encouraging feed subscribers to visit your site. A drawback of this though is that WordPress by default only uses the first 55 words of your post in an excerpt minus any ...

Redirect a WordPress Post to its Permalink

Sunday, August 30th, 2009
grey-l

I realize the title of this post may sound a little redundant, but I've noticed something peculiar in WordPress, it seems that it will automatically redirect a page if you change the page name (aka slug) but wont bother with anything else in the URL. Case in point I recently published a blog but forgot ...

Filtering MySQL Query Results With PHP

Tuesday, January 27th, 2009

For a while I'd been trying to figure out how to output a mysql query while excluding rows with duplicate values for a specific pair of column values, and then ordering by the most recent timestamp. Some if the phrases I ended up searching the web for were get all from distinct, order by then ...

© Wardell Design 2012
Entries (RSS) and Comments (RSS).