RSS的XML构造都是统一的吗

WBOY
Release: 2016-06-13 13:03:35
Original
841 people have browsed it

RSS的XML结构都是统一的吗?
我在做一个RSS新闻采集程序
通过百度,新浪等门户的RSS内容分析出新闻结构然后存入数据库

还是第一次接触RSS(几年前不会编程的时候倒是看过一下百科),不知道是不是各网站的RSSXML结构都是一样的呢?
我现在在想是写一个通用的解析函数,还是为每个门户的不同结构定义一个函数?

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template