douhuantui6259 2014-06-26 12:59 采纳率: 100%
浏览 24

File Uploader + XML生成脚本[关闭]

I need an admin panel, that allows us to Write content, and upload multiple images and pdf files, and I need them in xml (rss feed) so that my program can fetch it easily.

I thought about blogs, eg. wordpress. But they dont provide tags for attachments. Is there another free script that would do this? or is there a workaround?

What i want is the feed to have a line like <attachement></attachment>

  • 写回答

1条回答 默认 最新

  • doupa9062 2014-06-26 14:36

    If you are trying to add tags to attachments in side of WordPress there is a plugin for that called Attachment Taxonomy Support.

    If you want to add the RSS <enclosure> tag the RSS output of a feed in WordPress good news! It's built in.

    On each post you want to add an enclosure or "attachment" you simply add a custom field called "enclosure" with the field value equal to the URL of the file. This is a little known function in WordPress, I'm not surprised you didn't find a lot about it. The custom field will be found by the rss_enclosure() function and outputted in your feed.

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



    • ¥15 Tpad api账户 api口令
    • ¥30 ppt进度条制作,vba语言
    • ¥15 stc12c5a60s2单片机测光敏ADC
    • ¥15 生信simpleaffy包下载
    • ¥15 请教一下simulink中S函数相关问题
    • ¥15 在二层网络中,掩码存在包含关系即可通信
    • ¥15 端口转发器解析失败不知道电脑设置了啥
    • ¥15 Latex算法流程图行号自定义
    • ¥15 关于#python#的问题:我在自己的电脑上运行起来总是报错,希望能给我一个详细的教程,(开发工具-github)
    • ¥40 基于51单片机实现球赛计分器功能