Changeset 3076591
- Timestamp:
- 04/24/2024 03:50:40 PM (22 months ago)
- Location:
- feed2post-ircf/trunk
- Files:
-
- 5 edited
-
README.txt (modified) (2 diffs)
-
feed2post.php (modified) (1 diff)
-
includes/feed/feed2post-ac3-taxonomies.php (modified) (3 diffs)
-
includes/feed/feed2post-ac3.php (modified) (1 diff)
-
includes/feed/feed2post-xml.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
feed2post-ircf/trunk/README.txt
r3063729 r3076591 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html 9 Stable tag: 1.2 59 Stable tag: 1.26 10 10 Requires PHP: 7.0 11 11 … … 116 116 == Changelog == 117 117 118 = 1.26 = 119 XML : Fixed loadXML fatal error for PHP8. 120 AC3 : Improved fields mapping. 121 118 122 = 1.25 = 119 123 Added IMMO-FACILE / AC3 format. -
feed2post-ircf/trunk/feed2post.php
r3063729 r3076591 4 4 * Plugin URI: https://ircf.fr 5 5 * Description: Import CSV, XLS, XML, RSS, JSON, SQL, SIRTAQUI and many more feed types 6 * Version: 1.2 56 * Version: 1.26 7 7 * Author: IRCF 8 8 * Author URI: https://ircf.fr/ -
feed2post-ircf/trunk/includes/feed/feed2post-ac3-taxonomies.php
r3063744 r3076591 10 10 'APPARTEMENT', 11 11 'TERRAIN', 12 'GARAGE', 12 'LOCAL_PROFESSIONNEL', 13 'AGRICOLE_VITICOLE', 14 'CAVE', 15 'DEMEURE', 16 'FOND_COMMERCE', 17 'FORET', 18 'GRANGE', 19 'IMMEUBLE', 20 'MARINA', 21 'PARKING', 22 'PROGRAMME_NEUF', 23 'TERRAIN', 13 24 ); 14 25 … … 26 37 '8' => 'Domaine forestier', 27 38 '10' => 'Terrain', 39 '11' => 'Bureaux', 40 '12' => 'Cession de bail', 28 41 '13' => 'Entrepôt / Local industriel', 29 42 '14' => 'Murs', … … 32 45 '17' => 'Villa', 33 46 '18' => 'Etang', 47 '19' => 'Riad', 34 48 '20' => 'Moulin', 35 49 '21' => 'Manoir', 50 '22' => 'Corps de ferme', 36 51 '23' => 'Local commercial', 37 52 '24' => 'Terrain de loisirs', 38 53 '26' => 'Lotissement', 39 54 '27' => 'Local d\'activité', 55 '28' => 'Chalet', 40 56 '30' => 'Maison de village', 41 57 '31' => 'Mas', 42 // TODO58 '33' => 'Cave', 43 59 ); 44 60 -
feed2post-ircf/trunk/includes/feed/feed2post-ac3.php
r3063744 r3076591 18 18 'query' => '/LISTEPA/BIEN', 19 19 'post_id_field' => 'INFO_GENERALES.AFF_ID', 20 'line_fields' => 10,20 'line_fields' => 200, 21 21 )); 22 22 return $result; -
feed2post-ircf/trunk/includes/feed/feed2post-xml.php
r3063729 r3076591 67 67 protected function load_xml(){ 68 68 $xml = $this->http_query(); 69 return simplexml_import_dom(@DOMDocument::loadXML($xml), 'SimpleXMLIterator'); 69 $dom = new DOMDocument(); 70 $dom->loadXML($xml); 71 return simplexml_import_dom($dom, 'SimpleXMLIterator'); 70 72 } 71 73
Note: See TracChangeset
for help on using the changeset viewer.