最近发现织梦dedecms模板如果开启了多站点支持绝对网址后生成RSS会出现错误,经过一番研究,终于解决。 
	首先请大家打开系统文件:include/arc.rssview.class.php 
	找到 
	$this->TypeFields['typelink'] = $GLOBALS['cfg_basehost'].$this->TypeLink->GetOneTypeUrl( $this->TypeFields); 
	将其改为 
	$this->TypeFields['typelink'] = ($GLOBALS['cfg_multi_site']=="Y")?$this->TypeLink->GetOneTypeUrl( $this->TypeFields) : $GLOBALS['cfg_basehost'].$this->TypeLink->GetOneTypeUrl( $this->TypeFields); 
	这个是目录的 同样文章的也加一个是否开启了绝对地址的判断 
	再找到 
	$row["fullurl"] = $GLOBALS["cfg_basehost"].$row["arcurl"]; 
	然后改为 
	$row["fullurl"] = ($GLOBALS['cfg_multi_site']=="Y")?$row["arcurl"]: $GLOBALS["cfg_basehost"].$row["arcurl"]; 
	至此,一切OK。 
(责任编辑:最模板) | 

							ecshop仿康途保健健康用品
							人气:1819
						
							ecshop电器商城模板
							人气:497
						
							Fastest外贸多用途商城mag
							人气:221
						
							Vanesa 英文大型百货商城
							人气:323
						
							ecshop仿VCOTTON维棉模板
							人气:615
						
							英文卖包包衣服商城|ecs
							人气:5353