Changeset 3240633
- Timestamp:
- 02/14/2025 01:16:02 PM (12 months ago)
- Location:
- feed2post-ircf/trunk
- Files:
-
- 5 edited
-
README.txt (modified) (1 diff)
-
feed2post.php (modified) (1 diff)
-
includes/feed/feed2post-pdo.php (modified) (1 diff)
-
includes/feed/feed2post-xml.php (modified) (1 diff)
-
includes/feed2post-feed.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
feed2post-ircf/trunk/README.txt
r3240200 r3240633 120 120 == Changelog == 121 121 122 = 1.38 = 123 PDO/XML : Added error when missing PHP extension. 124 Concatenate meta values when multiple field are mapped. 125 122 126 = 1.37 = 123 127 Added missing post and user fields. -
feed2post-ircf/trunk/feed2post.php
r3240200 r3240633 4 4 * Plugin URI: https://ircf.fr 5 5 * Description: Import CSV, XLS, XML, RSS, JSON, SQL, Open AI Chat GPT, Google Reviews, Facebook, LinkedIn, AC3, SIRTAQUI and many more feed types 6 * Version: 1.3 76 * Version: 1.38 7 7 * Author: IRCF 8 8 * Author URI: https://ircf.fr/ -
feed2post-ircf/trunk/includes/feed/feed2post-pdo.php
r3240200 r3240633 50 50 function update_fields($reset = false){ 51 51 $fields = parent::update_fields($reset); 52 if (!class_exists('PDO')) throw new Exception(sprintf(__('PHP %s extension is not installed', 'feed2post'), 'PDO')); 52 53 $pdo = new PDO($this->dsn, $this->username, $this->password); // TODO , $this->options); 53 54 $stmt = $pdo->query($this->query); -
feed2post-ircf/trunk/includes/feed/feed2post-xml.php
r3211088 r3240633 82 82 protected function load_xml(){ 83 83 $xml = $this->http_query(); 84 if (!class_exists('DOMDocument')) throw new Exception(sprintf(__('PHP %s extension is not installed', 'feed2post'), 'DOM')); 84 85 $dom = new DOMDocument(); 85 86 $dom->loadXML($xml); -
feed2post-ircf/trunk/includes/feed2post-feed.php
r3240200 r3240633 347 347 // meta field 348 348 $meta_name = feed2post_post_field_name($field); 349 $post['meta_input'][$meta_name] = $this->get_field_value($name, $result, true); 349 if (!isset($post['meta_input'][$meta_name])) $post['meta_input'][$meta_name] = ''; 350 $post['meta_input'][$meta_name] .= $this->get_field_value($name, $result, true); 350 351 } 351 352 }
Note: See TracChangeset
for help on using the changeset viewer.