Changeset 197694
- Timestamp:
- 01/24/2010 09:03:55 PM (16 years ago)
- Location:
- wp-to-bloxpl
- Files:
-
- 7 added
- 2 edited
-
tags/1.2 (added)
-
tags/1.2/Dump.php (added)
-
tags/1.2/RPC.php (added)
-
tags/1.2/Server.php (added)
-
tags/1.2/obr.png (added)
-
tags/1.2/readme.txt (added)
-
tags/1.2/wp-to-blox.php (added)
-
trunk/readme.txt (modified) (1 diff)
-
trunk/wp-to-blox.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
wp-to-bloxpl/trunk/readme.txt
r196641 r197694 63 63 * Działająca wtyczka 64 64 65 = 1.2 = 66 67 * Drobne poprawki 68 65 69 == Upgrade Notice == 66 70 -
wp-to-bloxpl/trunk/wp-to-blox.php
r196640 r197694 54 54 function forward_to_blox($id) 55 55 { 56 if ($_POST["original_post_status"] == "publish") 57 { 58 //Je¿eli wpis by³ ju¿ opublikowany to nie republikujemy go (aktualizacja wpisu) 59 return; 60 } 61 56 62 $title = $_POST['post_title']; 57 63 $text = $_POST['post_content']; 58 64 65 if ($text == "") 66 { 67 //pusty tekst np. shedule a nie publish 68 return; 69 } 70 59 71 $text = tag_yt($text); 60 72 61 $login = ""; //Tutaj login 62 $haslo = ""; //Tuta haslo 73 //TMP 74 //ob_start(); 75 //var_dump($_POST); 76 //$a=ob_get_contents(); 77 //ob_end_clean(); 78 //$a = $_POST["original_post_status"]; 79 //$text .= $a; 80 $tagi = isset($_POST['post_tag']) ? $_POST['post_tag'] : "brak"; 63 81 82 $text .= "<br><br>Tagi: " . $tagi; 83 84 $login = "tomasz_dwa"; 85 $haslo = "wolfgang"; 64 86 $appKey = "PolishwordsWPToBlox" . $login; 65 87
Note: See TracChangeset
for help on using the changeset viewer.