Update of /cvsroot/php-blog/serendipity
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13484
Modified Files:
Tag: branch-smarty
NEWS serendipity_functions.inc.php
Log Message:
rss feed export will not contain rewritten URLs using event plugins
Index: serendipity_functions.inc.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/serendipity_functions.inc.php,v
retrieving revision 1.419.2.15
retrieving revision 1.419.2.16
diff -u -d -r1.419.2.15 -r1.419.2.16
--- serendipity_functions.inc.php 14 Sep 2004 16:29:46 -0000 1.419.2.15
+++ serendipity_functions.inc.php 15 Sep 2004 08:38:31 -0000 1.419.2.16
@@ -1826,7 +1826,17 @@
$ext = '';
}
- serendipity_plugin_api::hook_event('frontend_display', $entry);
+ if (isset($_GET['all']) && $_GET['all']) {
+ $addParam = array('no_scramble' => true);
+ } else {
+ $addParam = array();
+ }
+
+ serendipity_plugin_api::hook_event(
+ 'frontend_display',
+ $entry,
+ $addParam
+ );
// Do some relative -> absolute URI replacing magic. Replaces all HREF/SRC (<a>, <img>, ...) references to only the serendipitypath with the full baseURL URI
// garvin: Could impose some problems. Closely watch this one.
$entry['body'] = preg_replace('@(href|src)=("|\')(' . preg_quote($serendipity['serendipityHTTPPath']) . ')(.*)("|\')(.*)>@imsU', '\1=\2' . $serendipity['baseURL'] . '\4\2\6>', $entry['body']);
Index: NEWS
===================================================================
RCS file: /cvsroot/php-blog/serendipity/NEWS,v
retrieving revision 1.214.2.4
retrieving revision 1.214.2.5
diff -u -d -r1.214.2.4 -r1.214.2.5
--- NEWS 15 Sep 2004 08:30:21 -0000 1.214.2.4
+++ NEWS 15 Sep 2004 08:38:31 -0000 1.214.2.5
@@ -3,6 +3,9 @@
Version 0.8 ()
------------------------------------------------------------------------
+ * RSS Feed export will not contain rewritten URLs using event
+ plugins (garvinhicking)
+
* Added support for SMARTY templating. (garvinhicking, tomsommer)
Version 0.7 ()
|