Search found 7 matches

by sapphirecat
Mon Jun 18, 2007 1:52 am
Forum: Development
Topic: Internal RSS plugin hacks
Replies: 5
Views: 5765

garvinhicking wrote:Are you by chance running it via a http://localhost/ URL? Firefox rejects cookies set on those.
Yeah, I am, but I hadn't thought it was the problem because the similar 1.1 setup had worked fine. Thanks for the info!
by sapphirecat
Thu Jun 14, 2007 1:14 am
Forum: Development
Topic: Internal RSS plugin hacks
Replies: 5
Views: 5765

The existing option changes the URL specified in the /rss/channel/image/url tag (that's an XPath) of the RSS feed. The patch I have changes the image shown in the sidebar's HTML when someone views the blog itself. It basically replaces the hardcoding of 'img/xml.gif' in the call to serendipity ...
by sapphirecat
Thu Jun 14, 2007 12:58 am
Forum: Bugs
Topic: Yahoo search + no rewriting = broken archive links
Replies: 2
Views: 2358

Interesting. Yahoo's fixed it now.
by sapphirecat
Sat Jun 09, 2007 9:32 pm
Forum: Development
Topic: English DATE_FORMAT_ENTRY patch
Replies: 0
Views: 3283

English DATE_FORMAT_ENTRY patch

Here's a patch against 1.2-beta1 to change the dot to a comma in DATE_FORMAT_ENTRY for English:


diff -Nur serendipity-1.2-beta1-pristine/lang/serendipity_lang_en.inc.php serendipity-1.2-beta1-DATE_FORMAT/lang/serendipity_lang_en.inc.php
--- serendipity-1.2-beta1-pristine/lang/serendipity_lang_en ...
by sapphirecat
Sat Jun 09, 2007 3:27 pm
Forum: Development
Topic: Internal RSS plugin hacks
Replies: 5
Views: 5765

Argh! It seems that last night I unpacked a 1.1.2 tarball thinking it was 1.2-beta1, and didn't notice because it always unpacks as 'serendipity' with no version.

So I see that the links now have class="serendipity_xml_icon" set. I'll try and roll a fresh patch against 1.2-beta1 for the ...
by sapphirecat
Sat Jun 09, 2007 1:20 pm
Forum: Development
Topic: Internal RSS plugin hacks
Replies: 5
Views: 5765

Internal RSS plugin hacks

I've hacked a couple of behaviors into the default RSS plugin:

First, I wanted to have a PNG icon for the feeds instead of xml.gif, so I added a configuration option to set a URL for it.

Then, in the current version of my blog, I put a 'border-bottom' style on links, only to discover that the RSS ...
by sapphirecat
Sat Jun 09, 2007 1:32 am
Forum: Bugs
Topic: Yahoo search + no rewriting = broken archive links
Replies: 2
Views: 2358

Yahoo search + no rewriting = broken archive links

When a link in the Yahoo search results points to a single entry on an s9y install with rewriting set to 'None', the slashes in the archive path are URL-encoded. That is, $_SERVER['QUERY_STRING'] contains '%2Farchive%2F42-the-entry-title-etc.html'.

However, the bundled Net_URL library doesn't ...