论坛的supersite7.5 接口不能用
本帖最后由 davewei 于 2011-4-9 16:48 编辑最近想用SS测试下,但发现在论坛下载的接口都使不上,怎么回事??
能获取分类目录,但不能发布文章,测试都不能发布!
测试发布产生的代码<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<title>SupeSite Control Panel</title>
<link id="mastercss" rel="stylesheet" href="admin/images/style.css" type="text/css" media="screen" />
<script>var siteUrl='';</script>
<script language="javascript" type="text/javascript" src="include/js/common.js"></script>
<script language="javascript" type="text/javascript" src="images/edit/edit.js"></script>
<script language="javascript" type="text/javascript" src="include/js/admin.js"></script>
<script language="javascript" type="text/javascript" src="include/js/ajax.js"></script>
<script language="javascript" type="text/javascript" src="include/js/selectdate.js"></script>
<link href="images/edit/edit.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="wrap"
>
<div id="header">
<h2><a href="/" title="SupeSite社区门户"><img src="images/logo.gif" alt="SupeSite社区门户" /></a></h2>
<div id="topmenu" class="gray">
欢迎您,<a href="space.php?uid=1">admin</a> |
<a href="/" target="_blank">站点首页</a> |
<a href="batch.login.php?action=logout&refer=">退出</a>
</div>
<ul id="menu">
<li id="li_-1"><a href="/admincp.php">首页</a></li>
<li id="li_0"><a href="javascript:;" onclick="cpmenus(0)">系统管理</a></li>
<li id="li_1"><a href="javascript:;" onclick="cpmenus(1)">信息管理</a></li>
<li id="li_2"><a href="javascript:;" onclick="cpmenus(2)">用户管理</a></li>
<li id="li_3"><a href="javascript:;" onclick="cpmenus(3)">模块管理</a></li>
<li id="li_4"><a href="javascript:;" onclick="cpmenus(4)">批量维护</a></li>
<li id="li_5"><a href="javascript:;" onclick="cpmenus(5)">采集管理</a></li>
<li id="li_6"><a href="javascript:;" onclick="cpmenus(6)">模型管理</a></li>
<li id="li_7"><a href="javascript:;" onclick="cpmenus(7)">聚合设置</a></li>
<li><a href="http://ss.a/uct" target="_blank">UCenter</a></li>
</ul>
</div>
<div id="content">
<div class="mainarea">
<div class="maininner"
><div id="newslisttab">
<ul>
<li>频道名</li>
<li
class="active"
><a href="/admincp.php?action=spacenews&type=news&folder=1">资讯</a>
</li>
</ul>
</div>
<form method="get" name="listform" id="theform" action="/admincp.php?action=spacenews" enctype="multipart/form-data">
<table cellspacing="0" cellpadding="0" width="100%" class="toptable">
<tr>
<td>itemid:<input type="text" name="searchid" id="searchid" value="" size="5" />
标题:<input type="text" name="searchkey" id="searchkey" value="" size="10" />
查看:<select name="catid">
<option value="">所有分类</option>
</select>
<select id="digest" name="digest">
<option value="">不限制精华</option>
<option value="1">精华I</option>
<option value="2">精华II</option>
<option value="3">精华III</option>
</select>
排序:<select id="order" name="order">
<option value="" selected>默认排序</option>
<option value="dateline">发布时间</option>
<option value="lastpost">最后回复</option>
<option value="viewnum">查看数</option>
<option value="replynum">回复数</option>
</select>
<select id="sc" name="sc">
<option value="ASC">升序</option>
<option value="DESC" selected>降序</option>
</select>
每页:<input type="text" name="perpage" id="perpage" value="20" size="2" />条
<input type="submit" name="filtersubmit" value="GO">
<input type="hidden" name="type" value="news" />
<input type="hidden" name="action" value="spacenews" />
<input type="hidden" name="folder" value="1" />
<input type="hidden" name="formhash" value="80e897ce" />
</td>
</tr>
</table>
</form>
<table summary="" id="pagehead" cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td><h1>资讯</h1></td>
<td class="actions">
<table summary="" cellpadding="0" cellspacing="0" border="0" align="right">
<tr>
<td Array><a href="/admincp.php?action=spacenews&type=news" class="view">发布箱</a></td>
<td class="active"><a href="/admincp.php?action=spacenews&type=news&folder=1" class="view">待审箱</a></td>
<td ><a href="/admincp.php?action=spacenews&type=news&folder=2" class="view">垃圾箱</a></td>
<td ><a href="/admincp.php?action=spacenews&type=news&op=add" class="add">发布信息</a></td>
</tr>
</table>
</td>
</tr>
</table>
<div class="colorarea01">
<table cellspacing="0" cellpadding="0" width="100%" class="maintable">
<tr><td><a href="/admincp.php?action=spacenews&op=view&itemid=1" target="_blank"><strong>资讯页面</strong> 完成,点击链接可以查看该页面。</a></td></tr><tr><td><a href="/index.php?action-category-catid-4-php-1" target="_blank"><strong>分类页面</strong> 完成,点击链接可以查看该页面。</a></td></tr></table>
</div>
<div class="buttons">
<input type="button" name="continuesubmit4" value="继续发布新资讯" onclick="window.location.href='/admincp.php?action=spacenews&type=news&op=add'">
<input type="button" name="continuesubmit3" value="添加新分页" onclick="window.location.href='/admincp.php?action=spacenews&type=news&op=addpage&itemid=1'">
<input type="button" name="continuesubmit2" value="继续编辑当前页" onclick="window.location.href='/admincp.php?action=spacenews&op=edit&folder=1&itemid=1&page=1'">
<input type="button" name="continuesubmit1" value="进行列表管理" onclick="window.location.href='/admincp.php?action=spacenews&type=news'">
</div></div>
</div>
<div class="side">
<div class="block style1" id="menus_0">
<h2>系统管理</h2>
<ul class="folder">
<li><a href="/admincp.php?action=settings">系统设置</a></li>
<li><a href="/admincp.php?action=channel">频道管理</a></li>
<li>
<a href="/admincp.php?action=html">静态配置</a></li>
<li><a href="/admincp.php?action=tpl">模板编辑</a></li>
<li><a href="/admincp.php?action=css">样式表编辑</a></li>
<li><a href="/admincp.php?action=crons">计划任务</a></li>
<li><a href="/admincp.php?action=database">数据库</a></li>
<li><a href="/admincp.php?action=words">词语过滤</a></li>
<li><a href="/admincp.php?action=attachmenttypes">附件类型</a></li>
<li><a href="/admincp.php?action=prefields">预先值</a></li>
<li><a href="/admincp.php?action=sitemap">SITEMAP</a></li>
<li><a href="/admincp.php?action=polls">投票</a></li>
<li><a href="/admincp.php?action=customfields">自定义信息</a></li>
<li><a href="/admincp.php?action=announcements">公告管理</a></li>
<li><a href="/admincp.php?action=ad">广告</a></li>
<li><a href="/admincp.php?action=friendlinks">友情链接</a></li>
<li><a href="/admincp.php?action=cache">缓存更新</a></li>
</ul>
</div>
<div class="block style1" id="menus_1">
<h2>信息管理</h2>
<ul class="folder">
<li class="active"><a href="/admincp.php?action=spacenews">资讯管理</a></li>
<li><a href="/admincp.php?action=categories">资讯分类</a></li>
<li><a href="/admincp.php?action=check">资讯等级审核</a></li>
<li><a href="/admincp.php?action=postnews">信息推送</a></li>
<li><a href="/admincp.php?action=click">点击器</a></li>
</ul>
</div>
<div class="block style1" id="menus_2">
<h2>用户管理</h2>
<ul class="folder">
<li><a href="/admincp.php?action=member">用户管理</a></li>
<li><a href="/admincp.php?action=usergroups&op=add">添加用户组</a></li>
<li><a href="/admincp.php?action=usergroups">用户组</a></li>
<li><a href="/admincp.php?action=credit">积分规则</a></li>
<li><a href="/admincp.php?action=delmembers">恢复被禁用户</a></li>
</ul>
</div>
<div class="block style1" id="menus_3">
<h2>模块管理</h2>
<ul class="folder">
<li><a href="/admincp.php?action=blocks&op=add">创建模块</a></li>
<li><a href="/admincp.php?action=blocks">模块管理</a></li>
<li><a href="/admincp.php?action=styles&op=add">添加新风格</a></li>
<li><a href="/admincp.php?action=styles">模块风格</a></li>
<li><a href="/admincp.php?action=styletpl">风格模板</a></li>
</ul>
</div>
<div class="block style1" id="menus_4">
<h2>批量维护</h2>
<ul class="folder">
<li><a href="/admincp.php?action=items">主题管理</a></li>
<li><a href="/admincp.php?action=comments">评论管理</a></li>
<li><a href="/admincp.php?action=attachments">上传附件管理</a></li>
<li><a href="/admincp.php?action=tags">TAG管理</a></li>
<li><a href="/admincp.php?action=reports">举报信息管理</a></li>
</ul>
</div>
<div class="block style1" id="menus_5">
<h2>采集管理</h2>
<ul class="folder">
<li><a href="/admincp.php?action=robots&op=add">添加新机器人</a></li>
<li><a href="/admincp.php?action=robots">采集器</a></li>
<li><a href="/admincp.php?action=robotmessages">采集文章管理</a></li>
</ul>
</div>
<div class="block style1" id="menus_6">
<h2>模型管理</h2>
<ul class="folder">
<li><a href="/admincp.php?action=models&op=add">新建模型</a></li>
<li><a href="/admincp.php?action=models">模型管理</a></li>
<li><a href="/admincp.php?action=models&op=import">模型备份</a></li>
</ul>
</div>
<div class="block style1" id="menus_7">
<h2>聚合设置</h2>
<ul class="folder">
<li><a href="/admincp.php?action=bbs">论坛设置</a></li>
<li><a href="/admincp.php?action=bbsforums">版块聚合</a></li>
<li><a href="/admincp.php?action=threads">帖子批量聚合</a></li>
<li><a href="/admincp.php?action=uchome">UCHome设置</a></li>
</ul>
</div>
<script>cpmenus(1);</script></div>
</div>
<div id="footer">
<p>
Powered by <a href="http://x.discuz.net" target="_blank" title="20091126">SupeSite</a> 7.5
,
Copyright 2001-2009 <a href="http://www.comsenz.com/" target="_blank">Comsenz Inc.</a>
</p>
<p></p>
</div>
</div>
<iframe id="phpframe" name="phpframe" width="0" height="0" marginwidth="0" frameborder="0" src="about:blank"></iframe>
</body>
</html>
发布时产生的错误代码!!<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>SupeSite Control Panel</title>
<link id="mastercss" rel="stylesheet" href="admin/images/style.css" type="text/css" media="screen" />
<style type="text/css">
* { word-break: break-all; word-wrap: break-word; }
body { background: #FFF; color: #000; text-align: center; line-height: 1.5em; }
body, h1, h2, h3, h4, h5, p, ul, dl, ol, form, fieldset { margin: 0; padding: 0; }
body, td, input, textarea, select, button { font-size: 12px; font-family: Verdana,Arial,Helvetica,sans-serif; }
ul { list-style: none; }
cite { font-style: normal; }
a { color: #46498E; text-decoration: none; }
a:hover { text-decoration: underline; }
a img { border: none; }
/*布局*/
#wrap { margin: 0 auto; padding: 0 2px; width: 1000px; text-align: left; }
#header { position: relative; height: 80px; border-bottom: 5px solid #B7C6F5; }
#header h2, #topmenu, #menu { position: absolute; }
#header h2 { left: 0; bottom: 10px; }
#topmenu { right: 1em; bottom: 3.5em; }
#menu { right: 1em; bottom: -5px; line-height: 28px; }
#menu li { float: left; padding: 2px 1em; }
#menu li.active { padding-top: 0; border: solid #B7C6F5; border-width: 2px 1px 0; background: #FFF; }
.mainarea { float: right; width: 100%; margin-left: -150px; }
.maininner { margin-left: 170px; }
.side { float: left; width: 150px; }
#content { margin: 1em 0;}
.title { margin-bottom: 10px; padding-bottom: 0.5em; border-bottom: 1px solid #B7C6F5;}
.title h1, .title h3 { padding: 0.6em 0 0.2em 0; font-size: 1.17em; }
.footactions { margin: 0 0 1em; padding: 0.5em; border: 2px solid #B7C6F5; border-top: 0px; }
/*\*/ * html .footactions { height: 1%; } /**/ * > .footactions { overflow: hidden; }
.footactions .pages { float: right; }
.footactions a { margin-right:12px;}
/*细线边框区域*/
.bdrcontent { padding: 1em; border: 2px solid #B7C6F5; zoom: 1; }
#footer { clear: both; padding: 1em 0; color: #939393; text-align: center; }
#footer p { font-size: 0.83em; }
#footer .menu a { padding: 0 1em; }
</style>
</head>
<body>
<div id="wrap">
<div id="header">
<h2><a href="/" title="SupeSite社区门户"><img src="admin/images/loginlogo.gif" alt="SupeSite社区门户" /></a></h2>
<div id="topmenu" class="gray">
欢迎您,<a href="space.php?uid=">admin</a> |
<a href="/">站点首页</a> |
<a href="do.php?action=logout">退出</a>
</div>
<ul id="menu">
<li class="active"><a href="admincp.php">管理平台</a></li>
</ul>
</div>
<div id="content">
<div class="bdrcontent">
<div class="title"><h3>操作消息</h3></div>
<p>
您输入的标题长度不符合要求(2~80个字符)</p>
</div>
<div class="footactions">
<a href="javascript:history.back();">返回上一页</a> <a href="/">首页</a>
</div>
<div id="footer">
<p>
Powered by <a href="http://x.discuz.net" target="_blank" title="">SupeSite</a> 7.5
,
Copyright 2001-2009 <a href="http://www.comsenz.com/" target="_blank">Comsenz Inc.</a>
</p>
</div>
</div>
</body>
</html>
我下载的是这个接口
http://bbs.locoy.com/spider-45181-1-1.html
另外这个接口也是不可以用的~
您输入的标题长度不符合要求(2~80个字符)</p 可能是你的标题里没内容,或者是模块里的标签名不对应吧 我也是这样不知怎么搞的
页:
[1]