从JSON文件导入到wordpress中

时间:2019-05-03 02:03:29

标签: json wordpress import

我试图找到一种方法,可以将Day One应用程序(或非常类似的Journey App)中的条目导入到wordpress中。为每个条目创建的备份文件是.json文件。我知道有JSON导入程序插件,但应该显示实时供稿。我不需要那个有什么方法可以获取JSON文件并将其转换为wordpress条目?

文件看起来像这样:

{
    "text": "Happy new year!\nBlahblahblahblahbHERE ARE SOME WORDS. ",
    "address": "",
    "music_artist": "",
    "music_title": "",
    "lat": 00000000,
    "lon": 00000000,
    "mood": 0,
    "label": "",
    "folder": "",
    "sentiment": 0,
    "timezone": "America\/NASA",
    "favourite": true,
    "weather": {
        "id": -1,
        "degree_c": -9,
        "description":
        "Snow",
        "icon": "01d",
        "place": ""
    },
    "photos": [
        "1388618853000-3fe285536e3a9e32-3fb19c5c6006b468.jpg"
    ],
    "tags": [
        "family",
        "life"
    ]
}

非常感谢您

0 个答案:

没有答案