| Quote: |
| If your client asks for a “Blog ID” (or “Site ID”), enter a case-sensitive category name. |
| Quote: |
| Administrative “superusers” can only edit their own posts. |
| Code: |
| /**
* Finds which cats are published by a certain blog. * * @param string $weblog * @return array */ function find_cats_in_weblog($weblog) { global $Weblogs; $cats = array(); foreach ($Weblogs[$weblog]['sub_weblog'] as $subweblog) { foreach ($subweblog['categories'] as $subweblogcat) { if (in_array($subweblogcat,$cats)) continue; $cats[] = $subweblogcat; } } return $cats; } |
| Quote: |
| Please test so I can commit the work - to be included in Pivot 1.31 |
| Code: |
| -function write_file($filename, $output) {
+function write_file($filename, $output, $mode='w') { - if ($fh = @fopen( $filename, 'w' )) { + if ($fh = @fopen( $filename, $mode)) { |
| hansfn wrote: |
| Please test with any other blog clients that might support newMediaObject. |
| Code: |
| on encodeAsBase64(theFilePath)
set thePath to quoted form of POSIX path of (theFilePath) set theScript to "openssl base64 < " & thePath return do shell script theScript as data end encodeAsBase64 |
| John wrote: |
| textMate does not seem to send a blog id. |
output generated using printer-friendly topic mod. All times are GMT - 4 Hours