Archive for the Category ◊ About Watty Stuff ◊

XML, RSS, PHP and SimpleXMLElement
Wednesday, October 07th, 2009 | Author: Watty

A lot of people have multipage PHP scripts to read <content:encoded> CDATA part of RSS believing that SimpleXML in PHP can’t do it.

Well it can!

content is referring to  the Namespace used.

viz at the start of the Feed is the clue:

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:content="http://purl.org/rss/1.0/modules/content/">

This Guy explains it well Here is another good post
The Techtir.ie portal has the “posts” content filled in from Forum Posts via RSS by including content:encoded and CDATA parts in the RSS feeds, using only a fragment of PHP in the “post” via SimpleXMLElement.

Category: About Watty Stuff  | Tags: , ,  | Comments off
Broken Download Window
Wednesday, October 07th, 2009 | Author: Watty

Firefox 3.5 uses SQLite. I don’t know when it switched from downloads.rdf

Anyway type About:config in address  bar

put browser.download in the filter

This means items stay in window till you press Clear:

browser.download.manager.retention  1

This stops an automatic virus scan which is buggy:

browser.download.manager.scanWhenDone false

That fixed my Download manager Window

Disable Sites seeing your history?

In address bar About:config

layout.css.visited_links_enabled = False

Category: About Watty Stuff  | Tags:  | Comments off