douye2488 2014-08-05 07:14
浏览 39
已采纳

如何在wordpress中使用rss检索不同类别的内容?

There is a wordpress web site which has categories news (514), announcements (1370), culture (770), sports(771), education(772). Numbers are the category ids.

This web site gives RSS feeds and I can retrieve news contents using http://www.example.com/?feed=rss2&cat=514 and so on.

I want to grab all three culture, sports and education contents at once.

I have tried some urls like

http://www.example.com/?feed=rss2&cat=770,771,772

and

http://www.example.com/?feed=rss2&cat={770,771,772}

but did got only the first id's contents.

Is there another solution for this problem?

PS: I am not managing that web site. So I cannot make settings on it.

  • 写回答

1条回答 默认 最新

  • dongqianwei6664 2014-08-05 07:20
    关注

    I am sorry for wasting your time.

    http://www.example.com/?feed=rss2&cat=770,771,772

    works.

    It is just my inattention.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 高德地图点聚合中Marker的位置无法实时更新
  • ¥15 DIFY API Endpoint 问题。
  • ¥20 sub地址DHCP问题
  • ¥15 delta降尺度计算的一些细节,有偿
  • ¥15 Arduino红外遥控代码有问题
  • ¥15 数值计算离散正交多项式
  • ¥30 数值计算均差系数编程
  • ¥15 redis-full-check比较 两个集群的数据出错
  • ¥15 Matlab编程问题
  • ¥15 训练的多模态特征融合模型准确度很低怎么办