Log of /contributions/modules/wlw_blogapi/wlw_blogapi.module
Parent Directory
|
Revision Log
|
Revision Graph
Revision
1.16.2.7 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Sep 2 17:19:49 2009 UTC
(2 months, 3 weeks ago)
by
jrglasgow
Branch:
DRUPAL-6--1
Changes since
1.16.2.6: +7 -9 lines
Diff to
previous 1.16.2.6
, to
branch point 1.16
#371400 by mcload: Fixed Windows Live Writer BlogAPI Error.
When the server has E_NOTICE turned on every little thing like checking the value of an uninitialized variable throws a notice.
The is especially harmful when the expected result for the page request is to be parsed by a program that is not very good at ignoring notices that break the expected syntax of the XML it is expecting to receive.
The module was checking the value of a couple of possibly uninitialized variables in this function and causing notices to be thrown.
I have changed the function to use the <a href="http://us3.php.net/manual/en/function.empty.php">empty()</a> function which
<blockquote>
empty() is the opposite of (boolean) var, except that no warning is generated when the variable is not set.
</blockquote>
FYI - production site should never have E_NOTICE set.
Revision
1.16.2.5 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Aug 26 22:38:13 2009 UTC
(2 months, 4 weeks ago)
by
jrglasgow
Branch:
DRUPAL-6--1
CVS Tags:
DRUPAL-6--1-6
Changes since
1.16.2.4: +14 -3 lines
Diff to
previous 1.16.2.4
, to
branch point 1.16
added additional permissions for the admin settings page:
"manage menus and content types for wlw"
"manage wlw file upload settings"
we realized that with the one setting that anyone with the permission
"administer content with blog api" could change the settings, which poses a
security risk if they changed the setting to allow themselves to upload a
php script and execute.
Revision
1.11 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Oct 6 19:12:21 2008 UTC
(13 months, 2 weeks ago)
by
jrglasgow
Branch:
MAIN
Changes since
1.10: +2 -2 lines
Diff to
previous 1.10
html entities were escapes when titles were submitted by WLW. Actually they were doubly escaped. I adjusted the wlwmanifest.xml file to disallow html in titles, so titles are in plaintext, this is preferable.
Revision
1.8 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Sep 16 16:02:10 2008 UTC
(14 months, 1 week ago)
by
jrglasgow
Branch:
MAIN
Changes since
1.7: +13 -5 lines
Diff to
previous 1.7
#308996 - since some modules assume that the user is logged in in their hook_nodeapi() wlw_blogapi has to set the global variable, not just set the variable in the local scope just for the wlw_blogapi_blogger_edit_post() or wlw_blogapi_blogger_new_post() functions
Revision
1.5 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Sep 15 20:48:02 2008 UTC
(14 months, 1 week ago)
by
jrglasgow
Branch:
MAIN
Changes since
1.4: +14 -2 lines
Diff to
previous 1.4
if the keywords field is set we set the nodewords variable, if the nodewords (Meta Tags) module is installed this will take the keywords submitted and set those as the meta tags
Revision
1.3 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Sep 5 18:32:52 2008 UTC
(14 months, 2 weeks ago)
by
jrglasgow
Branch:
MAIN
Changes since
1.2: +19 -7 lines
Diff to
previous 1.2
added function _wlw_blogapi_filter_extra_code() to add and edit functions to filter out html tags that will add extra white space, i.e. empty paragraph tags and paragraph tags with only a in it.
Revision
1.2 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Sep 5 18:14:53 2008 UTC
(14 months, 2 weeks ago)
by
jrglasgow
Branch:
MAIN
Changes since
1.1: +10 -5 lines
Diff to
previous 1.1
In WLW you can 'Split a Post', very similar in Drupal to adding the '<!--break-->' tag. In the previous incarnation the BlogAPI module interpreted this split and inserted an '<!--extended-->' tag. this has been fixed.
Revision
1.1 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Sep 5 17:24:57 2008 UTC
(14 months, 2 weeks ago)
by
jrglasgow
Branch:
MAIN
CVS Tags:
DRUPAL-6--1-0-beta
Initial commit of wlw_blogapi module. the Drupal 6 instalce of blogapi.module breaks compatability with Windows Live Writer, which worked great with Drupal 5. This is a direct port of the blogapi module from the Drupal 5
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
select a symbolic revision name using the selection box, or choose
'Use Text Field' and enter a numeric revision.