Re: Re: 商品などデータの一括登録と絞り込み検索
2014年10月10日 at 18:11
なるほど。concrete5のXMLの形式に、CSVを当てはめるPHPを書けばいいんですね。
CSVをパースして、配列に落とし込み、XMLのひな形を作って、そこにechoで出力するような感じでしょうか。で、回す、と。
Your post has been saved and will be published after approval by the forum moderator.
takuro hishikawa
Re: 商品などデータの一括登録と絞り込み検索
http://github.com/concrete5/concrete5/blob/master/web/concrete/core/libraries/content/exporter.php
このようにSimpleXMLElementを使えば結構ラクなんです
http://php.net/manual/ja/class.simplexmlelement.php