p1957
V2EX  ›  PHP

小白求助( json 转 rss)

  •  
  •   p1957 · Oct 5, 2015 · 2684 views
    This topic created in 3893 days ago, the information mentioned may be changed or developed.
    instagram 的,也不是很难,网上居然没有公开的 php 代码。
    求帮写一个,我知道怎么抓到 timeline 的 api 地址,只用 php 转成 rss 即可
    要求一定要有 author ,因为我要看的是 timeline 的 rss ,没有发布者看着会很蛋疼。图片当然也一定要有。
    instagram 的 json 示例: https://wp-yishaofang.rhcloud.com/api.instagram.com.json
    qq : 460890029 弄完后充 30 元话费吧(只充话费)
    shoaly
        1
    shoaly  
       Oct 5, 2015
    rss 基本等于 html, 所以任何 php , 将 json 读下来之后, 直接 render 到模板里面就可以了..
    你要解决的问题是 从哪里找个服务器 给你装那些 rss, 因为本质 上 rss 就是 xml 文件
    p1957
        2
    p1957  
    OP
       Oct 5, 2015
    @shoaly 对啊!并不难。但我不是程序员,只是了解一点皮毛,服务器都不是问题。写个 php ,我在里面添加个 instagram 的 json 链接就 ok 了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3303 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 118ms · UTC 14:00 · PVG 22:00 · LAX 07:00 · JFK 10:00
    ♥ Do have faith in what you're doing.