按seo需求更改站点地图
This commit is contained in:
@@ -9,17 +9,40 @@ use app\services\SiteContext;
|
|||||||
use think\facade\Route;
|
use think\facade\Route;
|
||||||
|
|
||||||
|
|
||||||
Route::get('/article/fenlei/:category', function (\think\Request $Request, SiteContext $SiteContext) {
|
// Route::get('/article/fenlei/:category', function (\think\Request $Request, SiteContext $SiteContext) {
|
||||||
return view('test/test01/index.html');
|
// return view('test/test01/index.html');
|
||||||
});
|
// });
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sitemap
|
* robots
|
||||||
*/
|
*/
|
||||||
Route::get('/robots', function (\think\Request $Request, SiteContext $SiteContext) {
|
Route::get('/robots', function (\think\Request $Request, SiteContext $SiteContext) {
|
||||||
return view('sitemap/robots.txt');
|
return view('sitemap/robots.txt');
|
||||||
})->ext('txt');
|
})->ext('txt');
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Sitemap
|
||||||
|
*/
|
||||||
|
Route::get('/sitemap', function (\think\Request $Request, SiteContext $SiteContext) {
|
||||||
|
return view('video/getMap.html');
|
||||||
|
})->ext('html');
|
||||||
|
|
||||||
|
/**
|
||||||
|
* /rss/baidu
|
||||||
|
*/
|
||||||
|
Route::get('rss/baidu', function () {
|
||||||
|
return view('rss/baidu.xml')
|
||||||
|
->contentType('text/xml');
|
||||||
|
})->ext('xml');
|
||||||
|
|
||||||
|
/**
|
||||||
|
* /rss/so
|
||||||
|
*/
|
||||||
|
Route::get('rss/so', function () {
|
||||||
|
return view('rss/so.xml')
|
||||||
|
->contentType('text/xml');
|
||||||
|
})->ext('xml');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sitemap 索引文件
|
* Sitemap 索引文件
|
||||||
*/
|
*/
|
||||||
@@ -67,6 +90,14 @@ Route::get('/sitemap-chapters-:page', function (\think\Request $Request, SiteCon
|
|||||||
// return view('sitemap/sitemap-chapters.xml');
|
// return view('sitemap/sitemap-chapters.xml');
|
||||||
})->ext('xml');
|
})->ext('xml');
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 视频详情页面。
|
||||||
|
*/
|
||||||
|
Route::get('/sitemap-videos-:page', function (\think\Request $Request, SiteContext $SiteContext) {
|
||||||
|
return $SiteContext->getSiteMapByCode('VIDEO');
|
||||||
|
// return view('sitemap/sitemap-books.xml');
|
||||||
|
})->ext('xml');
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 搜索首页
|
* 搜索首页
|
||||||
@@ -680,26 +711,26 @@ foreach ($arrRoutes['prefixes'] as $platform => $prefixes) {
|
|||||||
|
|
||||||
case 'search':
|
case 'search':
|
||||||
//搜素
|
//搜素
|
||||||
// $strView = 'pc/getSearchNovel.html';
|
$strView = 'pc/getSearchNovel.html';
|
||||||
// if ($platform == 'h5') {
|
if ($platform == 'h5') {
|
||||||
// $strView = 'novel/getSearchNovel.html';
|
$strView = 'novel/getSearchNovel.html';
|
||||||
// }
|
}
|
||||||
// Route::get($strRoute, function () use ($strView) {
|
Route::get($strRoute, function () use ($strView) {
|
||||||
// return view($strView);
|
return view($strView);
|
||||||
// })->ext('html');
|
})->ext('html');
|
||||||
// break;
|
break;
|
||||||
|
|
||||||
// 首页
|
// 首页
|
||||||
if ($platform == 'h5') {
|
// if ($platform == 'h5') {
|
||||||
Route::get($strRoute, function (\think\Request $Request, SiteContext $SiteContext) {
|
// Route::get($strRoute, function (\think\Request $Request, SiteContext $SiteContext) {
|
||||||
return view($SiteContext->getHomeView('h5'));
|
// return view($SiteContext->getHomeView('h5'));
|
||||||
});
|
// });
|
||||||
} else {
|
// } else {
|
||||||
Route::get($strRoute, function (\think\Request $Request, SiteContext $SiteContext) {
|
// Route::get($strRoute, function (\think\Request $Request, SiteContext $SiteContext) {
|
||||||
return view($SiteContext->getHomeView('pc'));
|
// return view($SiteContext->getHomeView('pc'));
|
||||||
});
|
// });
|
||||||
}
|
// }
|
||||||
break;
|
// break;
|
||||||
|
|
||||||
case 'user':
|
case 'user':
|
||||||
//用户中心
|
//用户中心
|
||||||
|
|||||||
@@ -35,19 +35,15 @@
|
|||||||
(我们会在3个工作日内删除侵权内容,谢谢。)</p>
|
(我们会在3个工作日内删除侵权内容,谢谢。)</p>
|
||||||
<p>{$DomainModel->d_name}是一个优质影视资源网站,免费提供最新电影、热播电视剧、综艺节目、动漫、短剧等影视作品在线观看,看电影追剧首选{$DomainModel->d_name}。</p>
|
<p>{$DomainModel->d_name}是一个优质影视资源网站,免费提供最新电影、热播电视剧、综艺节目、动漫、短剧等影视作品在线观看,看电影追剧首选{$DomainModel->d_name}。</p>
|
||||||
<p>反馈邮箱:{site:cfg code="YOU_XIANG" encode="false"/}</p>
|
<p>反馈邮箱:{site:cfg code="YOU_XIANG" encode="false"/}</p>
|
||||||
<p class="hidden-xs">
|
<p class="">
|
||||||
<a href="/sitemap_index.xml" target="_blank">XML地图</a>
|
<a href="/sitemap.html" target="_blank">网站地图</a>
|
||||||
<a href="/robots.txt" target="_blank">网站地图</a>
|
|
||||||
{ad:list code="YOUQING_LIANJIE_GUANG_GAO" order="desc" limit="2" id="ad"}
|
<a href="/rss/baidu.xml" target="_blank">百度Sitemap</a>
|
||||||
<a href="{$ad.gg_tiao_zhuan_di_zhi}" target="_blank">{$ad.gg_wen_zi}
|
|
||||||
</a>
|
<a href="/rss/so.xml" target="_blank">360Sitemap</a>
|
||||||
{/ad:list}
|
|
||||||
<!-- <a target="_blank" href="/rss.xml">RSS订阅</a><span class="split-line"></span><a
|
<a href="/sitemap_index.xml" target="_blank">XML网站地图</a>
|
||||||
target="_blank" href="/rss/baidu.xml">百度蜘蛛</a><span class="split-line"></span><a
|
|
||||||
target="_blank" href="/rss/google.xml">谷歌地图</a><span class="split-line"></span><a
|
|
||||||
target="_blank" href="/rss/bing.xml">必应地图</a><span class="split-line"></span><a
|
|
||||||
target="_blank" href="/rss/so.xml">360地图</a><span class="split-line"></span><a
|
|
||||||
target="_blank" href="/rss/sogou.xml">搜狗地图</a> -->
|
|
||||||
</p>
|
</p>
|
||||||
<p class="margin-0">Copyright © 2008-2023 by {$DomainModel->d_name} 统计代码</p>
|
<p class="margin-0">Copyright © 2008-2023 by {$DomainModel->d_name} 统计代码</p>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
40
code/app/home/view/videoBoKu/rss/baidu.xml
Normal file
40
code/app/home/view/videoBoKu/rss/baidu.xml
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
|
<rss version="2.0">
|
||||||
|
<channel>
|
||||||
|
<title>{$DomainModel->d_name}</title>
|
||||||
|
<description>{$DomainModel->d_description}</description>
|
||||||
|
<link>www.{$DomainModel->d_domain}</link>
|
||||||
|
<language>zh-cn</language>
|
||||||
|
<docs>{$DomainModel->d_name}</docs>
|
||||||
|
<generator>Rss Powered By www.{$DomainModel->d_domain}</generator>
|
||||||
|
|
||||||
|
{video:list count="30"
|
||||||
|
v_category_en="all"
|
||||||
|
v_lang_en="all"
|
||||||
|
v_area_en="all"
|
||||||
|
v_year="all"
|
||||||
|
sort_type="news"
|
||||||
|
d_key="d_key" d_val="Video" cache_life="86400"}
|
||||||
|
<item>
|
||||||
|
<title>
|
||||||
|
<?php echo html_entity_decode($Video['v_name'], ENT_QUOTES | ENT_XML1, 'UTF-8'); ?> {$Video.v_remarks}
|
||||||
|
</title>
|
||||||
|
<link>https://{$DomainModel->d_domain}{site:vurl v_id="$Video.v_id" v_py="$Video.v_name_en"/}</link>
|
||||||
|
<author>
|
||||||
|
{volist name='$Video.v_actor' id='vo' key='index'}
|
||||||
|
{$vo} ,
|
||||||
|
{/volist}
|
||||||
|
</author>
|
||||||
|
<pubDate>{$Video.v_publish_date}</pubDate>
|
||||||
|
<description><![CDATA[
|
||||||
|
<?php
|
||||||
|
echo '《' . html_entity_decode($Video['v_name'], ENT_QUOTES | ENT_XML1, 'UTF-8') . '》'
|
||||||
|
. html_entity_decode($Video['v_description'], ENT_QUOTES | ENT_XML1, 'UTF-8');
|
||||||
|
?>
|
||||||
|
]]></description>
|
||||||
|
|
||||||
|
</item>
|
||||||
|
{/video:list}
|
||||||
|
|
||||||
|
</channel>
|
||||||
|
</rss>
|
||||||
18
code/app/home/view/videoBoKu/rss/so.xml
Normal file
18
code/app/home/view/videoBoKu/rss/so.xml
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<sitemapindex>
|
||||||
|
{video:list count="1000"
|
||||||
|
v_category_en="all"
|
||||||
|
v_lang_en="all"
|
||||||
|
v_area_en="all"
|
||||||
|
v_year="all"
|
||||||
|
sort_type="news"
|
||||||
|
d_key="d_key" d_val="Video" cache_life="86400"}
|
||||||
|
|
||||||
|
<sitemap>
|
||||||
|
<loc>https://www.{$DomainModel->d_domain}{site:vurl v_id="$Video.v_id" v_py="$Video.v_name_en"/}</loc>
|
||||||
|
<lastmod>{$Video.v_publish_date}</lastmod>
|
||||||
|
</sitemap>
|
||||||
|
|
||||||
|
{/video:list}
|
||||||
|
|
||||||
|
</sitemapindex>
|
||||||
152
code/app/home/view/videoBoKu/video/getMap.html
Normal file
152
code/app/home/view/videoBoKu/video/getMap.html
Normal file
@@ -0,0 +1,152 @@
|
|||||||
|
{extend name="base" /}
|
||||||
|
|
||||||
|
{block name="get-data"}
|
||||||
|
{video:pagerexp page="$Request.get.page" limit="12"
|
||||||
|
key="$Request.get.keyword"
|
||||||
|
d_key="d_key"
|
||||||
|
d_val="Video"
|
||||||
|
p_val="page_data" button_num="5" cache_life="3600" func="generateSearchPager" export_name="resData" /}
|
||||||
|
{site:grm page_code="h5_video_search" diff="0" num="30" g_key="arrGrm" /}
|
||||||
|
{/block}
|
||||||
|
|
||||||
|
|
||||||
|
{block name="title"}{site:replace code="VIDEO@GETSEARCHVIDEO@TITLE"}{/block}
|
||||||
|
{block name="keywords"}{site:replace code="VIDEO@GETSEARCHVIDEO@KEYWORDS"}{/block}
|
||||||
|
{block name="description"}{site:replace code="VIDEO@GETSEARCHVIDEO@DESCRIPTION"}{/block}
|
||||||
|
|
||||||
|
|
||||||
|
{block name="head"}
|
||||||
|
<meta property="og:title" content='{site:replace code="VIDEO@GETSEARCHVIDEO@TITLE"}'>
|
||||||
|
<meta property="og:description" content='{site:replace code="VIDEO@GETSEARCHVIDEO@DESCRIPTION"}'>
|
||||||
|
<meta property="og:url" content='https://{$DomainModel->d_domain}{site:vsurl key="search_term_string" p="1"/}'>
|
||||||
|
<meta property="og:type" content="website">
|
||||||
|
<meta property="og:site_name" content='{$DomainModel->d_name}'>
|
||||||
|
<meta name="twitter:card" content="summary_large_image">
|
||||||
|
<meta name="twitter:title" content='{site:replace code="VIDEO@GETSEARCHVIDEO@TITLE"}'>
|
||||||
|
<meta name="twitter:description" content='{site:replace code="VIDEO@GETSEARCHVIDEO@DESCRIPTION"}'>
|
||||||
|
<meta name="twitter:image:alt" content="动作电影 搜索结果第1页">
|
||||||
|
|
||||||
|
{// 结构化数据}
|
||||||
|
<script type="application/ld+json">
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"@type": "WebSite",
|
||||||
|
"name": "{$DomainModel->d_name}",
|
||||||
|
"url": "https://{$DomainModel->d_domain}",
|
||||||
|
"alternateName": "{$DomainModel->d_domain}",
|
||||||
|
"description": "{site:replace code="VIDEO@INDEX@INDEX@DESCRIPTION"}",
|
||||||
|
"potentialAction": {
|
||||||
|
"@type": "SearchAction",
|
||||||
|
"target": 'https://{$DomainModel->d_domain}{site:vsurl key="search_term_string" p="1"/}',
|
||||||
|
"query-input": "required name=search_term_string"
|
||||||
|
}
|
||||||
|
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"@type": "CollectionPage",
|
||||||
|
"name": "{$DomainModel->d_name} - {$DomainModel->d_logo_text}",
|
||||||
|
"url": "https://{$DomainModel->d_domain}",
|
||||||
|
"alternateName": "{$DomainModel->d_domain}",
|
||||||
|
"description": '{site:replace code="VIDEO@GETSEARCHVIDEO@DESCRIPTION"}',
|
||||||
|
"mainEntity": {
|
||||||
|
"@type": "ItemList",
|
||||||
|
"itemListElement": [
|
||||||
|
{volist name="resData.data" id="Video" key="key"}
|
||||||
|
{if $key < 5 }
|
||||||
|
{
|
||||||
|
"@type": "ListItem",
|
||||||
|
"position": {$key},
|
||||||
|
"item": {
|
||||||
|
"@type": "Movies",
|
||||||
|
"name": "{$Video.v_name}",
|
||||||
|
"url": 'https://{$DomainModel->d_domain}{site:vurl v_id="$Video.v_id" v_py="$Video.v_name_en"/}',
|
||||||
|
"description": "{$Video.v_description}",
|
||||||
|
"actor": [
|
||||||
|
{foreach $Video.v_actor as $strActorKey=>$strActor }
|
||||||
|
{if $strActorKey < 5 }
|
||||||
|
{ "@type": "Person", "name": "{$strActor}" },
|
||||||
|
{/if}
|
||||||
|
{/foreach}
|
||||||
|
],
|
||||||
|
"numberOfEpisodes": {$Video.v_play_url|count},
|
||||||
|
"image": "{$Video.v_pic}",
|
||||||
|
"aggregateRating": {
|
||||||
|
"@type": "AggregateRating",
|
||||||
|
"ratingValue": "{$Video.v_score}",
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{/if}
|
||||||
|
{/volist}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
</script>
|
||||||
|
{/block}
|
||||||
|
|
||||||
|
|
||||||
|
{block name="head-css"}
|
||||||
|
|
||||||
|
{/block}
|
||||||
|
|
||||||
|
{block name="head-js"}
|
||||||
|
|
||||||
|
{/block}
|
||||||
|
|
||||||
|
{block name="main"}
|
||||||
|
|
||||||
|
<div class="container">
|
||||||
|
<div class=" layout-box top-weizhi hidden-xs">
|
||||||
|
<label>当前位置:</label>
|
||||||
|
<a href="/">{$DomainModel->d_name}</a><i>></i><a href="/sitemap.html">网站地图</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{video:categorytype category_type="ONE" d_key="key" d_val="val"}
|
||||||
|
<div class=" layout-box">
|
||||||
|
<div class="box-title">
|
||||||
|
<!-- <span class="title-lb"></span> -->
|
||||||
|
<h2>
|
||||||
|
<a class=" font16" href='{site:vciurl parent_category="$val.v_category_en" /}'>{$val.v_category}</a>
|
||||||
|
</h2>
|
||||||
|
<a class=" box-more pull-right" href='{site:vciurl parent_category="$val.v_category_en" /}' title="{$val.v_category}">
|
||||||
|
<span class=" iconfont icon-weizhi"></span>
|
||||||
|
更多
|
||||||
|
<i>>
|
||||||
|
</i>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class=" sitemap">
|
||||||
|
<ul class=" clearfix">
|
||||||
|
<li class=" title"><span class=" text-color">类型</span></li>
|
||||||
|
{foreach $val.children as $intChildrenKey=>$arrChildrenCategory }
|
||||||
|
<li>
|
||||||
|
<a target="_blank"
|
||||||
|
href='{site:vclurl parent_category="$Request.route.strParentCategory" category="$arrChildrenCategory.v_category_en" area="all" lang="all" year="all" order="all" page="1"}'
|
||||||
|
title="{$arrChildrenCategory.v_category}">
|
||||||
|
{$arrChildrenCategory.v_category}
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
{/foreach}
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{/video:categorytype}
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- <script
|
||||||
|
type="text/javascript">
|
||||||
|
var wdkey = /哪吒/g; var wd = $('#searchList'); wd[0].innerHTML = wd[0].innerHTML.replace(wdkey, "<font color=red>哪吒</font>");
|
||||||
|
</script> -->
|
||||||
|
|
||||||
|
|
||||||
|
{/block}
|
||||||
|
{block name="customize"}
|
||||||
|
|
||||||
|
{/block}
|
||||||
@@ -3,8 +3,6 @@
|
|||||||
<div id="firendlink">
|
<div id="firendlink">
|
||||||
<img src="/template/videodadi/icon/icon_26.png" style="width:20px">友情连接:
|
<img src="/template/videodadi/icon/icon_26.png" style="width:20px">友情连接:
|
||||||
|
|
||||||
<a href="/sitemap_index.xml" target="_blank">XML地图</a>
|
|
||||||
<a href="/robots.txt" target="_blank">网站地图</a>
|
|
||||||
{ad:list code="YOUQING_LIANJIE_GUANG_GAO" order="desc" limit="2" id="ad"}
|
{ad:list code="YOUQING_LIANJIE_GUANG_GAO" order="desc" limit="2" id="ad"}
|
||||||
<a href="{$ad.gg_tiao_zhuan_di_zhi}" target="_blank">{$ad.gg_wen_zi}
|
<a href="{$ad.gg_tiao_zhuan_di_zhi}" target="_blank">{$ad.gg_wen_zi}
|
||||||
</a>
|
</a>
|
||||||
@@ -13,8 +11,19 @@
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
<div class="text-center col-pd">
|
||||||
|
<a href="/sitemap.html" target="_blank">网站地图</a>
|
||||||
|
-
|
||||||
|
<a href="/rss/baidu.xml" target="_blank">百度Sitemap</a>
|
||||||
|
-
|
||||||
|
<a href="/rss/so.xml" target="_blank">360Sitemap</a>
|
||||||
|
-
|
||||||
|
<a href="/sitemap_index.xml" target="_blank">XML网站地图</a>
|
||||||
|
|
||||||
|
</div>
|
||||||
<div class="stui-foot clearfix">
|
<div class="stui-foot clearfix">
|
||||||
<div class="col-pd text-center hidden-xs">Copyright
|
<div class="col-pd text-center hidden-xs">Copyright
|
||||||
<span class="fontArial"></span> 2009-2013
|
<span class="fontArial"></span> 2009-2013
|
||||||
|
|||||||
40
code/app/home/view/videoDadi/rss/baidu.xml
Normal file
40
code/app/home/view/videoDadi/rss/baidu.xml
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
|
<rss version="2.0">
|
||||||
|
<channel>
|
||||||
|
<title>{$DomainModel->d_name}</title>
|
||||||
|
<description>{$DomainModel->d_description}</description>
|
||||||
|
<link>www.{$DomainModel->d_domain}</link>
|
||||||
|
<language>zh-cn</language>
|
||||||
|
<docs>{$DomainModel->d_name}</docs>
|
||||||
|
<generator>Rss Powered By www.{$DomainModel->d_domain}</generator>
|
||||||
|
|
||||||
|
{video:list count="30"
|
||||||
|
v_category_en="all"
|
||||||
|
v_lang_en="all"
|
||||||
|
v_area_en="all"
|
||||||
|
v_year="all"
|
||||||
|
sort_type="news"
|
||||||
|
d_key="d_key" d_val="Video" cache_life="86400"}
|
||||||
|
<item>
|
||||||
|
<title>
|
||||||
|
<?php echo html_entity_decode($Video['v_name'], ENT_QUOTES | ENT_XML1, 'UTF-8'); ?> {$Video.v_remarks}
|
||||||
|
</title>
|
||||||
|
<link>https://{$DomainModel->d_domain}{site:vurl v_id="$Video.v_id" v_py="$Video.v_name_en"/}</link>
|
||||||
|
<author>
|
||||||
|
{volist name='$Video.v_actor' id='vo' key='index'}
|
||||||
|
{$vo} ,
|
||||||
|
{/volist}
|
||||||
|
</author>
|
||||||
|
<pubDate>{$Video.v_publish_date}</pubDate>
|
||||||
|
<description><![CDATA[
|
||||||
|
<?php
|
||||||
|
echo '《' . html_entity_decode($Video['v_name'], ENT_QUOTES | ENT_XML1, 'UTF-8') . '》'
|
||||||
|
. html_entity_decode($Video['v_description'], ENT_QUOTES | ENT_XML1, 'UTF-8');
|
||||||
|
?>
|
||||||
|
]]></description>
|
||||||
|
|
||||||
|
</item>
|
||||||
|
{/video:list}
|
||||||
|
|
||||||
|
</channel>
|
||||||
|
</rss>
|
||||||
18
code/app/home/view/videoDadi/rss/so.xml
Normal file
18
code/app/home/view/videoDadi/rss/so.xml
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<sitemapindex>
|
||||||
|
{video:list count="1000"
|
||||||
|
v_category_en="all"
|
||||||
|
v_lang_en="all"
|
||||||
|
v_area_en="all"
|
||||||
|
v_year="all"
|
||||||
|
sort_type="news"
|
||||||
|
d_key="d_key" d_val="Video" cache_life="86400"}
|
||||||
|
|
||||||
|
<sitemap>
|
||||||
|
<loc>https://www.{$DomainModel->d_domain}{site:vurl v_id="$Video.v_id" v_py="$Video.v_name_en"/}</loc>
|
||||||
|
<lastmod>{$Video.v_publish_date}</lastmod>
|
||||||
|
</sitemap>
|
||||||
|
|
||||||
|
{/video:list}
|
||||||
|
|
||||||
|
</sitemapindex>
|
||||||
144
code/app/home/view/videoDadi/video/getMap.html
Normal file
144
code/app/home/view/videoDadi/video/getMap.html
Normal file
@@ -0,0 +1,144 @@
|
|||||||
|
{extend name="base" /}
|
||||||
|
|
||||||
|
{block name="get-data"}
|
||||||
|
{video:pagerexp page="$Request.get.page" limit="10"
|
||||||
|
key="$Request.get.keyword"
|
||||||
|
d_key="d_key"
|
||||||
|
d_val="Video"
|
||||||
|
p_val="page_data" button_num="5" cache_life="3600" func="generateSearchPager" export_name="resData" /}
|
||||||
|
{site:grm page_code="h5_video_search" diff="0" num="30" g_key="arrGrm" /}
|
||||||
|
{/block}
|
||||||
|
|
||||||
|
|
||||||
|
{block name="title"}{site:replace code="VIDEO@GETSEARCHVIDEO@TITLE"}{/block}
|
||||||
|
{block name="keywords"}{site:replace code="VIDEO@GETSEARCHVIDEO@KEYWORDS"}{/block}
|
||||||
|
{block name="description"}{site:replace code="VIDEO@GETSEARCHVIDEO@DESCRIPTION"}{/block}
|
||||||
|
|
||||||
|
|
||||||
|
{block name="head"}
|
||||||
|
<meta property="og:title" content='{site:replace code="VIDEO@GETSEARCHVIDEO@TITLE"}'>
|
||||||
|
<meta property="og:description" content='{site:replace code="VIDEO@GETSEARCHVIDEO@DESCRIPTION"}'>
|
||||||
|
<meta property="og:url" content='https://{$DomainModel->d_domain}{site:vsurl key="search_term_string" p="1"/}'>
|
||||||
|
<meta property="og:type" content="website">
|
||||||
|
<meta property="og:site_name" content='{$DomainModel->d_name}'>
|
||||||
|
<meta name="twitter:card" content="summary_large_image">
|
||||||
|
<meta name="twitter:title" content='{site:replace code="VIDEO@GETSEARCHVIDEO@TITLE"}'>
|
||||||
|
<meta name="twitter:description" content='{site:replace code="VIDEO@GETSEARCHVIDEO@DESCRIPTION"}'>
|
||||||
|
<meta name="twitter:image:alt" content="动作电影 搜索结果第1页">
|
||||||
|
|
||||||
|
{// 结构化数据}
|
||||||
|
<script type="application/ld+json">
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"@type": "WebSite",
|
||||||
|
"name": "{$DomainModel->d_name}",
|
||||||
|
"url": "https://{$DomainModel->d_domain}",
|
||||||
|
"alternateName": "{$DomainModel->d_domain}",
|
||||||
|
"description": "{site:replace code="VIDEO@INDEX@INDEX@DESCRIPTION"}",
|
||||||
|
"potentialAction": {
|
||||||
|
"@type": "SearchAction",
|
||||||
|
"target": 'https://{$DomainModel->d_domain}{site:vsurl key="search_term_string" p="1"/}',
|
||||||
|
"query-input": "required name=search_term_string"
|
||||||
|
}
|
||||||
|
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"@type": "CollectionPage",
|
||||||
|
"name": "{$DomainModel->d_name} - {$DomainModel->d_logo_text}",
|
||||||
|
"url": "https://{$DomainModel->d_domain}",
|
||||||
|
"alternateName": "{$DomainModel->d_domain}",
|
||||||
|
"description": '{site:replace code="VIDEO@GETSEARCHVIDEO@DESCRIPTION"}',
|
||||||
|
"mainEntity": {
|
||||||
|
"@type": "ItemList",
|
||||||
|
"itemListElement": [
|
||||||
|
{volist name="resData.data" id="Video" key="key"}
|
||||||
|
{if $key < 5 }
|
||||||
|
{
|
||||||
|
"@type": "ListItem",
|
||||||
|
"position": {$key},
|
||||||
|
"item": {
|
||||||
|
"@type": "Movies",
|
||||||
|
"name": "{$Video.v_name}",
|
||||||
|
"url": 'https://{$DomainModel->d_domain}{site:vurl v_id="$Video.v_id" v_py="$Video.v_name_en"/}',
|
||||||
|
"description": "{$Video.v_description}",
|
||||||
|
"actor": [
|
||||||
|
{foreach $Video.v_actor as $strActorKey=>$strActor }
|
||||||
|
{if $strActorKey < 5 }
|
||||||
|
{ "@type": "Person", "name": "{$strActor}" },
|
||||||
|
{/if}
|
||||||
|
{/foreach}
|
||||||
|
],
|
||||||
|
"numberOfEpisodes": {$Video.v_play_url|count},
|
||||||
|
"image": "{$Video.v_pic}",
|
||||||
|
"aggregateRating": {
|
||||||
|
"@type": "AggregateRating",
|
||||||
|
"ratingValue": "{$Video.v_score}",
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{/if}
|
||||||
|
{/volist}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
</script>
|
||||||
|
{/block}
|
||||||
|
|
||||||
|
|
||||||
|
{block name="head-css"}
|
||||||
|
|
||||||
|
{/block}
|
||||||
|
|
||||||
|
{block name="head-js"}
|
||||||
|
|
||||||
|
{/block}
|
||||||
|
|
||||||
|
{block name="main"}
|
||||||
|
<div class="container">
|
||||||
|
<div class=" layout-box top-weizhi hidden-xs">
|
||||||
|
<label>当前位置:</label>
|
||||||
|
<a href="/">{$DomainModel->d_name}</a><i>></i><a href="/sitemap.html">网站地图</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{video:categorytype category_type="ONE" d_key="key" d_val="val"}
|
||||||
|
<div class=" layout-box">
|
||||||
|
<div class="box-title">
|
||||||
|
<!-- <span class="title-lb"></span> -->
|
||||||
|
<h2>
|
||||||
|
<a class=" font16" href='{site:vciurl parent_category="$val.v_category_en" /}'>{$val.v_category}</a>
|
||||||
|
</h2>
|
||||||
|
<a class=" box-more pull-right" href='{site:vciurl parent_category="$val.v_category_en" /}' title="{$val.v_category}">
|
||||||
|
<span class=" iconfont icon-weizhi"></span>
|
||||||
|
更多
|
||||||
|
<i>>
|
||||||
|
</i>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class=" sitemap">
|
||||||
|
<ul class=" clearfix">
|
||||||
|
<li class=" title"><span class=" text-color">类型</span></li>
|
||||||
|
{foreach $val.children as $intChildrenKey=>$arrChildrenCategory }
|
||||||
|
<li>
|
||||||
|
<a target="_blank"
|
||||||
|
href='{site:vclurl parent_category="$Request.route.strParentCategory" category="$arrChildrenCategory.v_category_en" area="all" lang="all" year="all" order="all" page="1"}'
|
||||||
|
title="{$arrChildrenCategory.v_category}">
|
||||||
|
{$arrChildrenCategory.v_category}
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
{/foreach}
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{/video:categorytype}
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
{/block}
|
||||||
|
{block name="customize"}
|
||||||
|
|
||||||
|
{/block}
|
||||||
@@ -12,6 +12,15 @@
|
|||||||
<div class="f9bdb5 lvshicms-panel_bd clearfix">
|
<div class="f9bdb5 lvshicms-panel_bd clearfix">
|
||||||
<div class="f358be col-xs-1">
|
<div class="f358be col-xs-1">
|
||||||
<ul class="a085fb lvshicms-link__text clearfix">
|
<ul class="a085fb lvshicms-link__text clearfix">
|
||||||
|
<li>
|
||||||
|
{ad:list code="YOUQING_LIANJIE_GUANG_GAO" order="desc" limit="2" id="ad"}
|
||||||
|
|
||||||
|
<a href="{$ad.gg_tiao_zhuan_di_zhi}" target="_blank">{$ad.gg_wen_zi}
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
{/ad:list}
|
||||||
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -21,19 +30,18 @@
|
|||||||
<div class="aa00ab col-xs-1">
|
<div class="aa00ab col-xs-1">
|
||||||
<div class="cea0ad col-pd text-center">
|
<div class="cea0ad col-pd text-center">
|
||||||
<p>
|
<p>
|
||||||
<!-- <a href="/rss/index.xml" target="_blank">RSS地图</a>
|
|
||||||
<a href="/rss/baidu.xml" target="_blank">百度Sitemap</a>
|
|
||||||
<a href="/rss/so.xml" target="_blank">360Sitemap</a>
|
|
||||||
<a href="/rss/google.xml" target="_blank">谷歌Sitemap</a> -->
|
|
||||||
|
|
||||||
<a href="/sitemap_index.xml" target="_blank">XML地图</a>
|
<a href="/sitemap.html" target="_blank">网站地图</a>
|
||||||
<a href="/robots.txt" target="_blank">网站地图</a>
|
|
||||||
{ad:list code="YOUQING_LIANJIE_GUANG_GAO" order="desc" limit="2" id="ad"}
|
<a href="/rss/baidu.xml" target="_blank">百度Sitemap</a>
|
||||||
<a href="{$ad.gg_tiao_zhuan_di_zhi}" target="_blank">{$ad.gg_wen_zi}
|
|
||||||
</a>
|
<a href="/rss/so.xml" target="_blank">360Sitemap</a>
|
||||||
{/ad:list}
|
|
||||||
|
<a href="/sitemap_index.xml" target="_blank">XML网站地图</a>
|
||||||
|
|
||||||
</p>
|
</p>
|
||||||
<p>Copyright © 2025 {$DomainModel->d_name} <a href="/"> {$DomainModel->d_domain}</a>All Rights Reserved .</p>
|
<p>Copyright © 2025 {$DomainModel->d_name} <a href="/"> {$DomainModel->d_domain}</a>All Rights
|
||||||
|
Reserved .</p>
|
||||||
<p>若本站收录内容侵犯了您的权益,请给我们留言,本站将第一时间处理。</p>
|
<p>若本站收录内容侵犯了您的权益,请给我们留言,本站将第一时间处理。</p>
|
||||||
<p>反馈邮箱:{site:cfg code="YOU_XIANG" encode="false"/}</p>
|
<p>反馈邮箱:{site:cfg code="YOU_XIANG" encode="false"/}</p>
|
||||||
</div>
|
</div>
|
||||||
@@ -45,5 +53,3 @@
|
|||||||
<li> <a class="fb9d99 backtop" href="javascript:scroll(0,0)" title="返回顶部" style="display: none;"><i
|
<li> <a class="fb9d99 backtop" href="javascript:scroll(0,0)" title="返回顶部" style="display: none;"><i
|
||||||
class="f6e490 fa fa-angle-up"></i></a> </li>
|
class="f6e490 fa fa-angle-up"></i></a> </li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
40
code/app/home/view/videoDingZhu/rss/baidu.xml
Normal file
40
code/app/home/view/videoDingZhu/rss/baidu.xml
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
|
<rss version="2.0">
|
||||||
|
<channel>
|
||||||
|
<title>{$DomainModel->d_name}</title>
|
||||||
|
<description>{$DomainModel->d_description}</description>
|
||||||
|
<link>www.{$DomainModel->d_domain}</link>
|
||||||
|
<language>zh-cn</language>
|
||||||
|
<docs>{$DomainModel->d_name}</docs>
|
||||||
|
<generator>Rss Powered By www.{$DomainModel->d_domain}</generator>
|
||||||
|
|
||||||
|
{video:list count="30"
|
||||||
|
v_category_en="all"
|
||||||
|
v_lang_en="all"
|
||||||
|
v_area_en="all"
|
||||||
|
v_year="all"
|
||||||
|
sort_type="news"
|
||||||
|
d_key="d_key" d_val="Video" cache_life="86400"}
|
||||||
|
<item>
|
||||||
|
<title>
|
||||||
|
<?php echo html_entity_decode($Video['v_name'], ENT_QUOTES | ENT_XML1, 'UTF-8'); ?> {$Video.v_remarks}
|
||||||
|
</title>
|
||||||
|
<link>https://{$DomainModel->d_domain}{site:vurl v_id="$Video.v_id" v_py="$Video.v_name_en"/}</link>
|
||||||
|
<author>
|
||||||
|
{volist name='$Video.v_actor' id='vo' key='index'}
|
||||||
|
{$vo} ,
|
||||||
|
{/volist}
|
||||||
|
</author>
|
||||||
|
<pubDate>{$Video.v_publish_date}</pubDate>
|
||||||
|
<description><![CDATA[
|
||||||
|
<?php
|
||||||
|
echo '《' . html_entity_decode($Video['v_name'], ENT_QUOTES | ENT_XML1, 'UTF-8') . '》'
|
||||||
|
. html_entity_decode($Video['v_description'], ENT_QUOTES | ENT_XML1, 'UTF-8');
|
||||||
|
?>
|
||||||
|
]]></description>
|
||||||
|
|
||||||
|
</item>
|
||||||
|
{/video:list}
|
||||||
|
|
||||||
|
</channel>
|
||||||
|
</rss>
|
||||||
18
code/app/home/view/videoDingZhu/rss/so.xml
Normal file
18
code/app/home/view/videoDingZhu/rss/so.xml
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<sitemapindex>
|
||||||
|
{video:list count="1000"
|
||||||
|
v_category_en="all"
|
||||||
|
v_lang_en="all"
|
||||||
|
v_area_en="all"
|
||||||
|
v_year="all"
|
||||||
|
sort_type="news"
|
||||||
|
d_key="d_key" d_val="Video" cache_life="86400"}
|
||||||
|
|
||||||
|
<sitemap>
|
||||||
|
<loc>https://www.{$DomainModel->d_domain}{site:vurl v_id="$Video.v_id" v_py="$Video.v_name_en"/}</loc>
|
||||||
|
<lastmod>{$Video.v_publish_date}</lastmod>
|
||||||
|
</sitemap>
|
||||||
|
|
||||||
|
{/video:list}
|
||||||
|
|
||||||
|
</sitemapindex>
|
||||||
130
code/app/home/view/videoDingZhu/video/getMap.html
Normal file
130
code/app/home/view/videoDingZhu/video/getMap.html
Normal file
@@ -0,0 +1,130 @@
|
|||||||
|
{extend name="base" /}
|
||||||
|
|
||||||
|
{block name="get-data"}
|
||||||
|
{video:pagerexp page="$Request.get.page" limit="12"
|
||||||
|
key="$Request.get.keyword"
|
||||||
|
d_key="d_key"
|
||||||
|
d_val="Video"
|
||||||
|
p_val="page_data" button_num="5" cache_life="3600" func="generateSearchPager" export_name="resData" /}
|
||||||
|
{site:grm page_code="h5_video_search" diff="0" num="30" g_key="arrGrm" /}
|
||||||
|
{/block}
|
||||||
|
|
||||||
|
|
||||||
|
{block name="title"}{site:replace code="VIDEO@GETSEARCHVIDEO@TITLE"}{/block}
|
||||||
|
{block name="keywords"}{site:replace code="VIDEO@GETSEARCHVIDEO@KEYWORDS"}{/block}
|
||||||
|
{block name="description"}{site:replace code="VIDEO@GETSEARCHVIDEO@DESCRIPTION"}{/block}
|
||||||
|
|
||||||
|
|
||||||
|
{block name="head"}
|
||||||
|
<meta property="og:title" content='{site:replace code="VIDEO@GETSEARCHVIDEO@TITLE"}'>
|
||||||
|
<meta property="og:description" content='{site:replace code="VIDEO@GETSEARCHVIDEO@DESCRIPTION"}'>
|
||||||
|
<meta property="og:url" content='https://{$DomainModel->d_domain}{site:vsurl key="search_term_string" p="1"/}'>
|
||||||
|
<meta property="og:type" content="website">
|
||||||
|
<meta property="og:site_name" content='{$DomainModel->d_name}'>
|
||||||
|
<meta name="twitter:card" content="summary_large_image">
|
||||||
|
<meta name="twitter:title" content='{site:replace code="VIDEO@GETSEARCHVIDEO@TITLE"}'>
|
||||||
|
<meta name="twitter:description" content='{site:replace code="VIDEO@GETSEARCHVIDEO@DESCRIPTION"}'>
|
||||||
|
<meta name="twitter:image:alt" content="动作电影 搜索结果第1页">
|
||||||
|
|
||||||
|
{// 结构化数据}
|
||||||
|
<script type="application/ld+json">
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"@type": "WebSite",
|
||||||
|
"name": "{$DomainModel->d_name}",
|
||||||
|
"url": "https://{$DomainModel->d_domain}",
|
||||||
|
"alternateName": "{$DomainModel->d_domain}",
|
||||||
|
"description": "{site:replace code="VIDEO@INDEX@INDEX@DESCRIPTION"}",
|
||||||
|
"potentialAction": {
|
||||||
|
"@type": "SearchAction",
|
||||||
|
"target": 'https://{$DomainModel->d_domain}{site:vsurl key="search_term_string" p="1"/}',
|
||||||
|
"query-input": "required name=search_term_string"
|
||||||
|
}
|
||||||
|
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"@type": "CollectionPage",
|
||||||
|
"name": "{$DomainModel->d_name} - {$DomainModel->d_logo_text}",
|
||||||
|
"url": "https://{$DomainModel->d_domain}",
|
||||||
|
"alternateName": "{$DomainModel->d_domain}",
|
||||||
|
"description": '{site:replace code="VIDEO@GETSEARCHVIDEO@DESCRIPTION"}',
|
||||||
|
"mainEntity": {
|
||||||
|
"@type": "ItemList",
|
||||||
|
"itemListElement": [
|
||||||
|
{volist name="resData.data" id="Video" key="key"}
|
||||||
|
{if $key < 5 }
|
||||||
|
{
|
||||||
|
"@type": "ListItem",
|
||||||
|
"position": {$key},
|
||||||
|
"item": {
|
||||||
|
"@type": "Movies",
|
||||||
|
"name": "{$Video.v_name}",
|
||||||
|
"url": 'https://{$DomainModel->d_domain}{site:vurl v_id="$Video.v_id" v_py="$Video.v_name_en"/}',
|
||||||
|
"description": "{$Video.v_description}",
|
||||||
|
"actor": [
|
||||||
|
{foreach $Video.v_actor as $strActorKey=>$strActor }
|
||||||
|
{if $strActorKey < 5 }
|
||||||
|
{ "@type": "Person", "name": "{$strActor}" },
|
||||||
|
{/if}
|
||||||
|
{/foreach}
|
||||||
|
],
|
||||||
|
"numberOfEpisodes": {$Video.v_play_url|count},
|
||||||
|
"image": "{$Video.v_pic}",
|
||||||
|
"aggregateRating": {
|
||||||
|
"@type": "AggregateRating",
|
||||||
|
"ratingValue": "{$Video.v_score}",
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{/if}
|
||||||
|
{/volist}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
</script>
|
||||||
|
{/block}
|
||||||
|
|
||||||
|
|
||||||
|
{block name="head-css"}
|
||||||
|
|
||||||
|
{/block}
|
||||||
|
|
||||||
|
{block name="head-js"}
|
||||||
|
|
||||||
|
{/block}
|
||||||
|
|
||||||
|
{block name="main"}
|
||||||
|
<div class="container" style="margin-top:10px;">
|
||||||
|
<div class="edefe3 row">
|
||||||
|
<div class="dcb1bd lvshicms-panel active lvshicms-panel-bg2 clearfix">
|
||||||
|
{video:categorytype category_type="ONE" d_key="key" d_val="val"}
|
||||||
|
<div class="c063e4 lvshicms-panel-box clearfix">
|
||||||
|
<div class="a88e6a lvshicms-panel_hd">
|
||||||
|
<div class="f8f350 lvshicms-panel__head active bottom-line clearfix">
|
||||||
|
<h3 class="d5bf9a title"> {$val.v_category} </h3>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="f7e283 lvshicms-panel_bd">
|
||||||
|
<ul class="dc4581 lvshicms-screen__list clearfix" data-align="left">
|
||||||
|
<li> <a class="fbe3e6 btn text-muted">类型</a> </li>
|
||||||
|
{foreach $val.children as $intChildrenKey=>$arrChildrenCategory }
|
||||||
|
<li>
|
||||||
|
<a target="_blank" class="dc501b btn"
|
||||||
|
href='{site:vclurl parent_category="$Request.route.strParentCategory" category="$arrChildrenCategory.v_category_en" area="all" lang="all" year="all" order="all" page="1"}'
|
||||||
|
title="{$arrChildrenCategory.v_category}">
|
||||||
|
{$arrChildrenCategory.v_category}
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
{/foreach}
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{/video:categorytype}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{/block}
|
||||||
|
{block name="customize"}
|
||||||
|
|
||||||
|
{/block}
|
||||||
40
code/app/home/view/videoFengNiao/rss/baidu.xml
Normal file
40
code/app/home/view/videoFengNiao/rss/baidu.xml
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
|
<rss version="2.0">
|
||||||
|
<channel>
|
||||||
|
<title>{$DomainModel->d_name}</title>
|
||||||
|
<description>{$DomainModel->d_description}</description>
|
||||||
|
<link>www.{$DomainModel->d_domain}</link>
|
||||||
|
<language>zh-cn</language>
|
||||||
|
<docs>{$DomainModel->d_name}</docs>
|
||||||
|
<generator>Rss Powered By www.{$DomainModel->d_domain}</generator>
|
||||||
|
|
||||||
|
{video:list count="30"
|
||||||
|
v_category_en="all"
|
||||||
|
v_lang_en="all"
|
||||||
|
v_area_en="all"
|
||||||
|
v_year="all"
|
||||||
|
sort_type="news"
|
||||||
|
d_key="d_key" d_val="Video" cache_life="86400"}
|
||||||
|
<item>
|
||||||
|
<title>
|
||||||
|
<?php echo html_entity_decode($Video['v_name'], ENT_QUOTES | ENT_XML1, 'UTF-8'); ?> {$Video.v_remarks}
|
||||||
|
</title>
|
||||||
|
<link>https://{$DomainModel->d_domain}{site:vurl v_id="$Video.v_id" v_py="$Video.v_name_en"/}</link>
|
||||||
|
<author>
|
||||||
|
{volist name='$Video.v_actor' id='vo' key='index'}
|
||||||
|
{$vo} ,
|
||||||
|
{/volist}
|
||||||
|
</author>
|
||||||
|
<pubDate>{$Video.v_publish_date}</pubDate>
|
||||||
|
<description><![CDATA[
|
||||||
|
<?php
|
||||||
|
echo '《' . html_entity_decode($Video['v_name'], ENT_QUOTES | ENT_XML1, 'UTF-8') . '》'
|
||||||
|
. html_entity_decode($Video['v_description'], ENT_QUOTES | ENT_XML1, 'UTF-8');
|
||||||
|
?>
|
||||||
|
]]></description>
|
||||||
|
|
||||||
|
</item>
|
||||||
|
{/video:list}
|
||||||
|
|
||||||
|
</channel>
|
||||||
|
</rss>
|
||||||
@@ -1,23 +1,25 @@
|
|||||||
|
|
||||||
<footer class="eef3f2 footer text-center">
|
<footer class="eef3f2 footer text-center">
|
||||||
<div class="a73f1c footer-nav hidden-xs">
|
<div class="a73f1c footer-nav hidden-xs">
|
||||||
<!-- <a rel="nofollow" href="/map.html" target="_blank">网站地图</a>
|
友情链接:
|
||||||
-
|
<a href="/sitemap_index.xml" target="_blank">XML网站地图</a>
|
||||||
<a href="/rss/index.xml" target="_blank">RSS地图</a>
|
{ad:list code="YOUQING_LIANJIE_GUANG_GAO" order="desc" limit="2" id="ad"}
|
||||||
|
<a href="{$ad.gg_tiao_zhuan_di_zhi}" target="_blank">{$ad.gg_wen_zi}
|
||||||
|
</a>
|
||||||
|
|
||||||
|
{/ad:list}
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="a73f1c footer-nav hidden-xs">
|
||||||
|
<a href="/sitemap.html" target="_blank">网站地图</a>
|
||||||
-
|
-
|
||||||
<a href="/rss/baidu.xml" target="_blank">百度Sitemap</a>
|
<a href="/rss/baidu.xml" target="_blank">百度Sitemap</a>
|
||||||
-
|
-
|
||||||
<a href="/rss/so.xml" target="_blank">360Sitemap</a>
|
<a href="/rss/so.xml" target="_blank">360Sitemap</a>
|
||||||
-
|
-
|
||||||
<a href="/rss/google.xml" target="_blank">谷歌Sitemap</a>-->
|
<a href="/sitemap_index.xml" target="_blank">XML网站地图</a>
|
||||||
|
|
||||||
<a href="/sitemap_index.xml" target="_blank">XML地图</a>
|
|
||||||
-
|
|
||||||
<a href="/robots.txt" target="_blank">网站地图</a>
|
|
||||||
|
|
||||||
{ad:list code="YOUQING_LIANJIE_GUANG_GAO" order="desc" limit="2" id="ad"}
|
|
||||||
<a href="{$ad.gg_tiao_zhuan_di_zhi}" target="_blank">{$ad.gg_wen_zi}
|
|
||||||
</a>
|
|
||||||
{/ad:list}
|
|
||||||
</div>
|
</div>
|
||||||
<p>Copyright © 2020-2025 <b style=" font:Verdana, Arial, Helvetica, sans-serif"><a href="/">
|
<p>Copyright © 2020-2025 <b style=" font:Verdana, Arial, Helvetica, sans-serif"><a href="/">
|
||||||
<font color="#CC0000">{$DomainModel->d_domain}</font>
|
<font color="#CC0000">{$DomainModel->d_domain}</font>
|
||||||
|
|||||||
40
code/app/home/view/videoLaoNiu/rss/baidu.xml
Normal file
40
code/app/home/view/videoLaoNiu/rss/baidu.xml
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
|
<rss version="2.0">
|
||||||
|
<channel>
|
||||||
|
<title>{$DomainModel->d_name}</title>
|
||||||
|
<description>{$DomainModel->d_description}</description>
|
||||||
|
<link>www.{$DomainModel->d_domain}</link>
|
||||||
|
<language>zh-cn</language>
|
||||||
|
<docs>{$DomainModel->d_name}</docs>
|
||||||
|
<generator>Rss Powered By www.{$DomainModel->d_domain}</generator>
|
||||||
|
|
||||||
|
{video:list count="30"
|
||||||
|
v_category_en="all"
|
||||||
|
v_lang_en="all"
|
||||||
|
v_area_en="all"
|
||||||
|
v_year="all"
|
||||||
|
sort_type="news"
|
||||||
|
d_key="d_key" d_val="Video" cache_life="86400"}
|
||||||
|
<item>
|
||||||
|
<title>
|
||||||
|
<?php echo html_entity_decode($Video['v_name'], ENT_QUOTES | ENT_XML1, 'UTF-8'); ?> {$Video.v_remarks}
|
||||||
|
</title>
|
||||||
|
<link>https://{$DomainModel->d_domain}{site:vurl v_id="$Video.v_id" v_py="$Video.v_name_en"/}</link>
|
||||||
|
<author>
|
||||||
|
{volist name='$Video.v_actor' id='vo' key='index'}
|
||||||
|
{$vo} ,
|
||||||
|
{/volist}
|
||||||
|
</author>
|
||||||
|
<pubDate>{$Video.v_publish_date}</pubDate>
|
||||||
|
<description><![CDATA[
|
||||||
|
<?php
|
||||||
|
echo '《' . html_entity_decode($Video['v_name'], ENT_QUOTES | ENT_XML1, 'UTF-8') . '》'
|
||||||
|
. html_entity_decode($Video['v_description'], ENT_QUOTES | ENT_XML1, 'UTF-8');
|
||||||
|
?>
|
||||||
|
]]></description>
|
||||||
|
|
||||||
|
</item>
|
||||||
|
{/video:list}
|
||||||
|
|
||||||
|
</channel>
|
||||||
|
</rss>
|
||||||
18
code/app/home/view/videoLaoNiu/rss/so.xml
Normal file
18
code/app/home/view/videoLaoNiu/rss/so.xml
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<sitemapindex>
|
||||||
|
{video:list count="1000"
|
||||||
|
v_category_en="all"
|
||||||
|
v_lang_en="all"
|
||||||
|
v_area_en="all"
|
||||||
|
v_year="all"
|
||||||
|
sort_type="news"
|
||||||
|
d_key="d_key" d_val="Video" cache_life="86400"}
|
||||||
|
|
||||||
|
<sitemap>
|
||||||
|
<loc>https://www.{$DomainModel->d_domain}{site:vurl v_id="$Video.v_id" v_py="$Video.v_name_en"/}</loc>
|
||||||
|
<lastmod>{$Video.v_publish_date}</lastmod>
|
||||||
|
</sitemap>
|
||||||
|
|
||||||
|
{/video:list}
|
||||||
|
|
||||||
|
</sitemapindex>
|
||||||
146
code/app/home/view/videoLaoNiu/video/getMap.html
Normal file
146
code/app/home/view/videoLaoNiu/video/getMap.html
Normal file
@@ -0,0 +1,146 @@
|
|||||||
|
{extend name="base" /}
|
||||||
|
|
||||||
|
{block name="get-data"}
|
||||||
|
{video:pagerexp page="$Request.get.page" limit="12"
|
||||||
|
key="$Request.get.keyword"
|
||||||
|
d_key="d_key"
|
||||||
|
d_val="Video"
|
||||||
|
p_val="page_data" button_num="5" cache_life="3600" func="generateSearchPager" export_name="resData" /}
|
||||||
|
{site:grm page_code="h5_video_search" diff="0" num="30" g_key="arrGrm" /}
|
||||||
|
{/block}
|
||||||
|
|
||||||
|
|
||||||
|
{block name="title"}{site:replace code="VIDEO@GETSEARCHVIDEO@TITLE"}{/block}
|
||||||
|
{block name="keywords"}{site:replace code="VIDEO@GETSEARCHVIDEO@KEYWORDS"}{/block}
|
||||||
|
{block name="description"}{site:replace code="VIDEO@GETSEARCHVIDEO@DESCRIPTION"}{/block}
|
||||||
|
|
||||||
|
|
||||||
|
{block name="head"}
|
||||||
|
<meta property="og:title" content='{site:replace code="VIDEO@GETSEARCHVIDEO@TITLE"}'>
|
||||||
|
<meta property="og:description" content='{site:replace code="VIDEO@GETSEARCHVIDEO@DESCRIPTION"}'>
|
||||||
|
<meta property="og:url" content='https://{$DomainModel->d_domain}{site:vsurl key="search_term_string" p="1"/}'>
|
||||||
|
<meta property="og:type" content="website">
|
||||||
|
<meta property="og:site_name" content='{$DomainModel->d_name}'>
|
||||||
|
<meta name="twitter:card" content="summary_large_image">
|
||||||
|
<meta name="twitter:title" content='{site:replace code="VIDEO@GETSEARCHVIDEO@TITLE"}'>
|
||||||
|
<meta name="twitter:description" content='{site:replace code="VIDEO@GETSEARCHVIDEO@DESCRIPTION"}'>
|
||||||
|
<meta name="twitter:image:alt" content="动作电影 搜索结果第1页">
|
||||||
|
|
||||||
|
{// 结构化数据}
|
||||||
|
<script type="application/ld+json">
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"@type": "WebSite",
|
||||||
|
"name": "{$DomainModel->d_name}",
|
||||||
|
"url": "https://{$DomainModel->d_domain}",
|
||||||
|
"alternateName": "{$DomainModel->d_domain}",
|
||||||
|
"description": "{site:replace code="VIDEO@INDEX@INDEX@DESCRIPTION"}",
|
||||||
|
"potentialAction": {
|
||||||
|
"@type": "SearchAction",
|
||||||
|
"target": 'https://{$DomainModel->d_domain}{site:vsurl key="search_term_string" p="1"/}',
|
||||||
|
"query-input": "required name=search_term_string"
|
||||||
|
}
|
||||||
|
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"@type": "CollectionPage",
|
||||||
|
"name": "{$DomainModel->d_name} - {$DomainModel->d_logo_text}",
|
||||||
|
"url": "https://{$DomainModel->d_domain}",
|
||||||
|
"alternateName": "{$DomainModel->d_domain}",
|
||||||
|
"description": '{site:replace code="VIDEO@GETSEARCHVIDEO@DESCRIPTION"}',
|
||||||
|
"mainEntity": {
|
||||||
|
"@type": "ItemList",
|
||||||
|
"itemListElement": [
|
||||||
|
{volist name="resData.data" id="Video" key="key"}
|
||||||
|
{if $key < 5 }
|
||||||
|
{
|
||||||
|
"@type": "ListItem",
|
||||||
|
"position": {$key},
|
||||||
|
"item": {
|
||||||
|
"@type": "Movies",
|
||||||
|
"name": "{$Video.v_name}",
|
||||||
|
"url": 'https://{$DomainModel->d_domain}{site:vurl v_id="$Video.v_id" v_py="$Video.v_name_en"/}',
|
||||||
|
"description": "{$Video.v_description}",
|
||||||
|
"actor": [
|
||||||
|
{foreach $Video.v_actor as $strActorKey=>$strActor }
|
||||||
|
{if $strActorKey < 5 }
|
||||||
|
{ "@type": "Person", "name": "{$strActor}" },
|
||||||
|
{/if}
|
||||||
|
{/foreach}
|
||||||
|
],
|
||||||
|
"numberOfEpisodes": {$Video.v_play_url|count},
|
||||||
|
"image": "{$Video.v_pic}",
|
||||||
|
"aggregateRating": {
|
||||||
|
"@type": "AggregateRating",
|
||||||
|
"ratingValue": "{$Video.v_score}",
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{/if}
|
||||||
|
{/volist}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
</script>
|
||||||
|
{/block}
|
||||||
|
|
||||||
|
|
||||||
|
{block name="head-css"}
|
||||||
|
|
||||||
|
{/block}
|
||||||
|
|
||||||
|
{block name="head-js"}
|
||||||
|
|
||||||
|
{/block}
|
||||||
|
|
||||||
|
{block name="main"}
|
||||||
|
|
||||||
|
<div class="f80005 container">
|
||||||
|
<div class="e91676 layout-box top-weizhi hidden-xs">
|
||||||
|
<label>当前位置:</label>
|
||||||
|
<a href="/">{$DomainModel->d_name}</a><i>></i><a href="/sitemap.html">网站地图</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{video:categorytype category_type="ONE" d_key="key" d_val="val"}
|
||||||
|
<div class="dc6728 layout-box">
|
||||||
|
<div class="d55ed1 box-title"><span class="b5ed19 title-lb"></span>
|
||||||
|
<h2>
|
||||||
|
<a class="b9bf12 font16" href='{site:vciurl parent_category="$val.v_category_en" /}'>{$val.v_category}</a>
|
||||||
|
</h2>
|
||||||
|
<a class="a52c60 box-more pull-right" href='{site:vciurl parent_category="$val.v_category_en" /}' title="{$val.v_category}">
|
||||||
|
<span class="b04569 iconfont icon-weizhi"></span>
|
||||||
|
更多
|
||||||
|
<i>>
|
||||||
|
</i>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="fca2e8 sitemap">
|
||||||
|
<ul class="be9825 clearfix">
|
||||||
|
<li class="c8d228 title"><span class="b41d2c text-color">类型</span></li>
|
||||||
|
{foreach $val.children as $intChildrenKey=>$arrChildrenCategory }
|
||||||
|
<li>
|
||||||
|
<a target="_blank"
|
||||||
|
href='{site:vclurl parent_category="$Request.route.strParentCategory" category="$arrChildrenCategory.v_category_en" area="all" lang="all" year="all" order="all" page="1"}'
|
||||||
|
title="{$arrChildrenCategory.v_category}">
|
||||||
|
{$arrChildrenCategory.v_category}
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
{/foreach}
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{/video:categorytype}
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
{/block}
|
||||||
|
{block name="customize"}
|
||||||
|
|
||||||
|
{/block}
|
||||||
@@ -1,4 +1,28 @@
|
|||||||
<div class="container">
|
<div class="container">
|
||||||
|
<div class="a73f1c footer-nav hidden-xs text-center col-pd">
|
||||||
|
友情链接:
|
||||||
|
{ad:list code="YOUQING_LIANJIE_GUANG_GAO" order="desc" limit="2" id="ad"}
|
||||||
|
<a href="{$ad.gg_tiao_zhuan_di_zhi}" target="_blank">{$ad.gg_wen_zi}
|
||||||
|
</a>
|
||||||
|
|
||||||
|
{/ad:list}
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="a73f1c footer-nav hidden-xs text-center col-pd">
|
||||||
|
<a href="/sitemap.html" target="_blank">网站地图</a>
|
||||||
|
-
|
||||||
|
<a href="/rss/baidu.xml" target="_blank">百度Sitemap</a>
|
||||||
|
-
|
||||||
|
<a href="/rss/so.xml" target="_blank">360Sitemap</a>
|
||||||
|
-
|
||||||
|
<a href="/sitemap_index.xml" target="_blank">XML网站地图</a>
|
||||||
|
|
||||||
|
{ad:list code="YOUQING_LIANJIE_GUANG_GAO" order="desc" limit="2" id="ad"}
|
||||||
|
<a href="{$ad.gg_tiao_zhuan_di_zhi}" target="_blank">{$ad.gg_wen_zi}
|
||||||
|
</a>
|
||||||
|
{/ad:list}
|
||||||
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="stui-foot clearfix">
|
<div class="stui-foot clearfix">
|
||||||
<div class="col-pd text-center hidden-xs">Copyright by<span class="fontArial"></span> 2009-2023
|
<div class="col-pd text-center hidden-xs">Copyright by<span class="fontArial"></span> 2009-2023
|
||||||
|
|||||||
40
code/app/home/view/videoNuNu/rss/baidu.xml
Normal file
40
code/app/home/view/videoNuNu/rss/baidu.xml
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
|
<rss version="2.0">
|
||||||
|
<channel>
|
||||||
|
<title>{$DomainModel->d_name}</title>
|
||||||
|
<description>{$DomainModel->d_description}</description>
|
||||||
|
<link>www.{$DomainModel->d_domain}</link>
|
||||||
|
<language>zh-cn</language>
|
||||||
|
<docs>{$DomainModel->d_name}</docs>
|
||||||
|
<generator>Rss Powered By www.{$DomainModel->d_domain}</generator>
|
||||||
|
|
||||||
|
{video:list count="30"
|
||||||
|
v_category_en="all"
|
||||||
|
v_lang_en="all"
|
||||||
|
v_area_en="all"
|
||||||
|
v_year="all"
|
||||||
|
sort_type="news"
|
||||||
|
d_key="d_key" d_val="Video" cache_life="86400"}
|
||||||
|
<item>
|
||||||
|
<title>
|
||||||
|
<?php echo html_entity_decode($Video['v_name'], ENT_QUOTES | ENT_XML1, 'UTF-8'); ?> {$Video.v_remarks}
|
||||||
|
</title>
|
||||||
|
<link>https://{$DomainModel->d_domain}{site:vurl v_id="$Video.v_id" v_py="$Video.v_name_en"/}</link>
|
||||||
|
<author>
|
||||||
|
{volist name='$Video.v_actor' id='vo' key='index'}
|
||||||
|
{$vo} ,
|
||||||
|
{/volist}
|
||||||
|
</author>
|
||||||
|
<pubDate>{$Video.v_publish_date}</pubDate>
|
||||||
|
<description><![CDATA[
|
||||||
|
<?php
|
||||||
|
echo '《' . html_entity_decode($Video['v_name'], ENT_QUOTES | ENT_XML1, 'UTF-8') . '》'
|
||||||
|
. html_entity_decode($Video['v_description'], ENT_QUOTES | ENT_XML1, 'UTF-8');
|
||||||
|
?>
|
||||||
|
]]></description>
|
||||||
|
|
||||||
|
</item>
|
||||||
|
{/video:list}
|
||||||
|
|
||||||
|
</channel>
|
||||||
|
</rss>
|
||||||
18
code/app/home/view/videoNuNu/rss/so.xml
Normal file
18
code/app/home/view/videoNuNu/rss/so.xml
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<sitemapindex>
|
||||||
|
{video:list count="1000"
|
||||||
|
v_category_en="all"
|
||||||
|
v_lang_en="all"
|
||||||
|
v_area_en="all"
|
||||||
|
v_year="all"
|
||||||
|
sort_type="news"
|
||||||
|
d_key="d_key" d_val="Video" cache_life="86400"}
|
||||||
|
|
||||||
|
<sitemap>
|
||||||
|
<loc>https://www.{$DomainModel->d_domain}{site:vurl v_id="$Video.v_id" v_py="$Video.v_name_en"/}</loc>
|
||||||
|
<lastmod>{$Video.v_publish_date}</lastmod>
|
||||||
|
</sitemap>
|
||||||
|
|
||||||
|
{/video:list}
|
||||||
|
|
||||||
|
</sitemapindex>
|
||||||
146
code/app/home/view/videoNuNu/video/getMap.html
Normal file
146
code/app/home/view/videoNuNu/video/getMap.html
Normal file
@@ -0,0 +1,146 @@
|
|||||||
|
{extend name="base" /}
|
||||||
|
|
||||||
|
{block name="get-data"}
|
||||||
|
{video:pagerexp page="$Request.get.page" limit="12"
|
||||||
|
key="$Request.get.keyword"
|
||||||
|
d_key="d_key"
|
||||||
|
d_val="Video"
|
||||||
|
p_val="page_data" button_num="5" cache_life="3600" func="generateSearchPager" export_name="resData" /}
|
||||||
|
{site:grm page_code="h5_video_search" diff="0" num="30" g_key="arrGrm" /}
|
||||||
|
{/block}
|
||||||
|
|
||||||
|
|
||||||
|
{block name="title"}{site:replace code="VIDEO@GETSEARCHVIDEO@TITLE"}{/block}
|
||||||
|
{block name="keywords"}{site:replace code="VIDEO@GETSEARCHVIDEO@KEYWORDS"}{/block}
|
||||||
|
{block name="description"}{site:replace code="VIDEO@GETSEARCHVIDEO@DESCRIPTION"}{/block}
|
||||||
|
|
||||||
|
|
||||||
|
{block name="head"}
|
||||||
|
<meta property="og:title" content='{site:replace code="VIDEO@GETSEARCHVIDEO@TITLE"}'>
|
||||||
|
<meta property="og:description" content='{site:replace code="VIDEO@GETSEARCHVIDEO@DESCRIPTION"}'>
|
||||||
|
<meta property="og:url" content='https://{$DomainModel->d_domain}{site:vsurl key="search_term_string" p="1"/}'>
|
||||||
|
<meta property="og:type" content="website">
|
||||||
|
<meta property="og:site_name" content='{$DomainModel->d_name}'>
|
||||||
|
<meta name="twitter:card" content="summary_large_image">
|
||||||
|
<meta name="twitter:title" content='{site:replace code="VIDEO@GETSEARCHVIDEO@TITLE"}'>
|
||||||
|
<meta name="twitter:description" content='{site:replace code="VIDEO@GETSEARCHVIDEO@DESCRIPTION"}'>
|
||||||
|
<meta name="twitter:image:alt" content="动作电影 搜索结果第1页">
|
||||||
|
|
||||||
|
{// 结构化数据}
|
||||||
|
<script type="application/ld+json">
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"@type": "WebSite",
|
||||||
|
"name": "{$DomainModel->d_name}",
|
||||||
|
"url": "https://{$DomainModel->d_domain}",
|
||||||
|
"alternateName": "{$DomainModel->d_domain}",
|
||||||
|
"description": "{site:replace code="VIDEO@INDEX@INDEX@DESCRIPTION"}",
|
||||||
|
"potentialAction": {
|
||||||
|
"@type": "SearchAction",
|
||||||
|
"target": 'https://{$DomainModel->d_domain}{site:vsurl key="search_term_string" p="1"/}',
|
||||||
|
"query-input": "required name=search_term_string"
|
||||||
|
}
|
||||||
|
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"@type": "CollectionPage",
|
||||||
|
"name": "{$DomainModel->d_name} - {$DomainModel->d_logo_text}",
|
||||||
|
"url": "https://{$DomainModel->d_domain}",
|
||||||
|
"alternateName": "{$DomainModel->d_domain}",
|
||||||
|
"description": '{site:replace code="VIDEO@GETSEARCHVIDEO@DESCRIPTION"}',
|
||||||
|
"mainEntity": {
|
||||||
|
"@type": "ItemList",
|
||||||
|
"itemListElement": [
|
||||||
|
{volist name="resData.data" id="Video" key="key"}
|
||||||
|
{if $key < 5 }
|
||||||
|
{
|
||||||
|
"@type": "ListItem",
|
||||||
|
"position": {$key},
|
||||||
|
"item": {
|
||||||
|
"@type": "Movies",
|
||||||
|
"name": "{$Video.v_name}",
|
||||||
|
"url": 'https://{$DomainModel->d_domain}{site:vurl v_id="$Video.v_id" v_py="$Video.v_name_en"/}',
|
||||||
|
"description": "{$Video.v_description}",
|
||||||
|
"actor": [
|
||||||
|
{foreach $Video.v_actor as $strActorKey=>$strActor }
|
||||||
|
{if $strActorKey < 5 }
|
||||||
|
{ "@type": "Person", "name": "{$strActor}" },
|
||||||
|
{/if}
|
||||||
|
{/foreach}
|
||||||
|
],
|
||||||
|
"numberOfEpisodes": {$Video.v_play_url|count},
|
||||||
|
"image": "{$Video.v_pic}",
|
||||||
|
"aggregateRating": {
|
||||||
|
"@type": "AggregateRating",
|
||||||
|
"ratingValue": "{$Video.v_score}",
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{/if}
|
||||||
|
{/volist}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
</script>
|
||||||
|
{/block}
|
||||||
|
|
||||||
|
|
||||||
|
{block name="head-css"}
|
||||||
|
|
||||||
|
{/block}
|
||||||
|
|
||||||
|
{block name="head-js"}
|
||||||
|
|
||||||
|
{/block}
|
||||||
|
|
||||||
|
{block name="main"}
|
||||||
|
|
||||||
|
<div class="container">
|
||||||
|
<div class=" layout-box top-weizhi hidden-xs">
|
||||||
|
<label>当前位置:</label>
|
||||||
|
<a href="/">{$DomainModel->d_name}</a><i>></i><a href="/sitemap.html">网站地图</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{video:categorytype category_type="ONE" d_key="key" d_val="val"}
|
||||||
|
<div class=" layout-box">
|
||||||
|
<div class="box-title">
|
||||||
|
<!-- <span class="title-lb"></span> -->
|
||||||
|
<h2>
|
||||||
|
<a class=" font16" href='{site:vciurl parent_category="$val.v_category_en" /}'>{$val.v_category}</a>
|
||||||
|
</h2>
|
||||||
|
<a class=" box-more pull-right" href='{site:vciurl parent_category="$val.v_category_en" /}' title="{$val.v_category}">
|
||||||
|
<span class=" iconfont icon-weizhi"></span>
|
||||||
|
更多
|
||||||
|
<i>>
|
||||||
|
</i>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class=" sitemap">
|
||||||
|
<ul class=" clearfix">
|
||||||
|
<li class=" title"><span class=" text-color">类型</span></li>
|
||||||
|
{foreach $val.children as $intChildrenKey=>$arrChildrenCategory }
|
||||||
|
<li>
|
||||||
|
<a target="_blank"
|
||||||
|
href='{site:vclurl parent_category="$Request.route.strParentCategory" category="$arrChildrenCategory.v_category_en" area="all" lang="all" year="all" order="all" page="1"}'
|
||||||
|
title="{$arrChildrenCategory.v_category}">
|
||||||
|
{$arrChildrenCategory.v_category}
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
{/foreach}
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{/video:categorytype}
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{/block}
|
||||||
|
{block name="customize"}
|
||||||
|
|
||||||
|
{/block}
|
||||||
40
code/app/home/view/xiongMao/rss/baidu.xml
Normal file
40
code/app/home/view/xiongMao/rss/baidu.xml
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
|
<rss version="2.0">
|
||||||
|
<channel>
|
||||||
|
<title>{$DomainModel->d_name}</title>
|
||||||
|
<description>{$DomainModel->d_description}</description>
|
||||||
|
<link>www.{$DomainModel->d_domain}</link>
|
||||||
|
<language>zh-cn</language>
|
||||||
|
<docs>{$DomainModel->d_name}</docs>
|
||||||
|
<generator>Rss Powered By www.{$DomainModel->d_domain}</generator>
|
||||||
|
|
||||||
|
{video:list count="30"
|
||||||
|
v_category_en="all"
|
||||||
|
v_lang_en="all"
|
||||||
|
v_area_en="all"
|
||||||
|
v_year="all"
|
||||||
|
sort_type="news"
|
||||||
|
d_key="d_key" d_val="Video" cache_life="86400"}
|
||||||
|
<item>
|
||||||
|
<title>
|
||||||
|
<?php echo html_entity_decode($Video['v_name'], ENT_QUOTES | ENT_XML1, 'UTF-8'); ?> {$Video.v_remarks}
|
||||||
|
</title>
|
||||||
|
<link>https://{$DomainModel->d_domain}{site:vurl v_id="$Video.v_id" v_py="$Video.v_name_en"/}</link>
|
||||||
|
<author>
|
||||||
|
{volist name='$Video.v_actor' id='vo' key='index'}
|
||||||
|
{$vo} ,
|
||||||
|
{/volist}
|
||||||
|
</author>
|
||||||
|
<pubDate>{$Video.v_publish_date}</pubDate>
|
||||||
|
<description><![CDATA[
|
||||||
|
<?php
|
||||||
|
echo '《' . html_entity_decode($Video['v_name'], ENT_QUOTES | ENT_XML1, 'UTF-8') . '》'
|
||||||
|
. html_entity_decode($Video['v_description'], ENT_QUOTES | ENT_XML1, 'UTF-8');
|
||||||
|
?>
|
||||||
|
]]></description>
|
||||||
|
|
||||||
|
</item>
|
||||||
|
{/video:list}
|
||||||
|
|
||||||
|
</channel>
|
||||||
|
</rss>
|
||||||
@@ -465,6 +465,9 @@ class SiteContext
|
|||||||
case 'CHAPTER':
|
case 'CHAPTER':
|
||||||
$strFile .= "sitemap-chapters-{$intPage}.xml";
|
$strFile .= "sitemap-chapters-{$intPage}.xml";
|
||||||
break;
|
break;
|
||||||
|
case 'VIDEO':
|
||||||
|
$strFile .= "sitemap-videos-{$intPage}.xml";
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
throw new \think\exception\HttpException(404, 'Sitemap file not found');
|
throw new \think\exception\HttpException(404, 'Sitemap file not found');
|
||||||
break;
|
break;
|
||||||
@@ -522,7 +525,7 @@ class SiteContext
|
|||||||
|
|
||||||
// 检查是否在黑名单中
|
// 检查是否在黑名单中
|
||||||
if (Cache::store('redis')->handler()->sIsMember($strKeyBlacklist, $strIp)) {
|
if (Cache::store('redis')->handler()->sIsMember($strKeyBlacklist, $strIp)) {
|
||||||
throw new HttpException(404, 'Too Many Requests');
|
throw new HttpException(404, 'Too Many Requests h');
|
||||||
// abort(403, 'Too Many Requests100 Your IP has been blocked.');
|
// abort(403, 'Too Many Requests100 Your IP has been blocked.');
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -537,7 +540,7 @@ class SiteContext
|
|||||||
|
|
||||||
// var_dump($intRequestTotalLimit10);
|
// var_dump($intRequestTotalLimit10);
|
||||||
// 检查请求次数是否超过限制
|
// 检查请求次数是否超过限制
|
||||||
if ($intRequestTotalLimit10 > 30 && !$arrVisitInfo['vil_is_spider']) {
|
if ($intRequestTotalLimit10 > 60 && !$arrVisitInfo['vil_is_spider']) {
|
||||||
throw new HttpException(404, 'Too Many Requests');
|
throw new HttpException(404, 'Too Many Requests');
|
||||||
// abort(403, 'Too Many Requests');
|
// abort(403, 'Too Many Requests');
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1048,3 +1048,79 @@ pc 导航 滚动
|
|||||||
background: #FF9900;
|
background: #FF9900;
|
||||||
color: #FFFFFF;
|
color: #FFFFFF;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/* map 开始 */
|
||||||
|
.layout-box, .pannel-box {
|
||||||
|
margin-top: 15px;
|
||||||
|
background: #fff;
|
||||||
|
padding: 10px 20px;
|
||||||
|
box-shadow: 0 1px 4px rgba(0, 0, 0, .07);
|
||||||
|
}
|
||||||
|
.sitemap ul {
|
||||||
|
border-top: 1px dashed #f5f5f5;
|
||||||
|
}
|
||||||
|
.sitemap ul {
|
||||||
|
padding: 15px 0 0 60px;
|
||||||
|
border-top: 1px dashed;
|
||||||
|
}
|
||||||
|
.sitemap ul li.title {
|
||||||
|
margin: 0 10px 15px -60px;
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
.box-title {
|
||||||
|
overflow: hidden;
|
||||||
|
line-height: 35px;
|
||||||
|
margin-bottom: 5px;
|
||||||
|
}
|
||||||
|
.sitemap ul li {
|
||||||
|
float: left;
|
||||||
|
margin-bottom: 15px;
|
||||||
|
margin-right: 13px;
|
||||||
|
}
|
||||||
|
.text-color {
|
||||||
|
color: #5ab46a;
|
||||||
|
}
|
||||||
|
.sitemap ul {
|
||||||
|
border-top: 1px dashed #f5f5f5;
|
||||||
|
}
|
||||||
|
.pull-right {
|
||||||
|
float: right !important;
|
||||||
|
}
|
||||||
|
.box-title h2, .box-title h1 {
|
||||||
|
display: inline-block;
|
||||||
|
font-size: 18px !important;
|
||||||
|
margin-bottom: 0px !important;
|
||||||
|
}
|
||||||
|
.title-lb {
|
||||||
|
border-color: #5ab46a;
|
||||||
|
border-left: 4px solid #FFF;
|
||||||
|
margin-right: 5px;
|
||||||
|
padding-top: 2px;
|
||||||
|
}
|
||||||
|
@media (max-width: 767px) {
|
||||||
|
.layout-box, .pannel-box {
|
||||||
|
margin-top: 10px;
|
||||||
|
padding: 0px;
|
||||||
|
}
|
||||||
|
.box-title {
|
||||||
|
margin-left: 6px;
|
||||||
|
margin-right: 6px;
|
||||||
|
margin-bottom: 0px;
|
||||||
|
padding-top: 6px;
|
||||||
|
}
|
||||||
|
.sitemap {
|
||||||
|
padding: 10px;
|
||||||
|
}
|
||||||
|
.box-title h2, .box-title h1 {
|
||||||
|
font-size: 16px !important;
|
||||||
|
}
|
||||||
|
.title-lb {
|
||||||
|
margin-left: 5px;
|
||||||
|
margin-right: 5px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* map 结束*/
|
||||||
@@ -400,7 +400,7 @@ textarea.form-control{ height: auto;}
|
|||||||
|
|
||||||
/* modal */
|
/* modal */
|
||||||
.stui-modal__dialog{ width: 320px; margin: 50px auto;}
|
.stui-modal__dialog{ width: 320px; margin: 50px auto;}
|
||||||
|
}
|
||||||
@media (max-width: 767px){
|
@media (max-width: 767px){
|
||||||
.visible-xs { display: block !important;}
|
.visible-xs { display: block !important;}
|
||||||
.hidden-xs {display: none!important;}
|
.hidden-xs {display: none!important;}
|
||||||
@@ -518,3 +518,76 @@ textarea.form-control{ height: auto;}
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/* map 开始 */
|
||||||
|
.layout-box, .pannel-box {
|
||||||
|
margin-top: 15px;
|
||||||
|
background: #fff;
|
||||||
|
padding: 10px 20px;
|
||||||
|
box-shadow: 0 1px 4px rgba(0, 0, 0, .07);
|
||||||
|
}
|
||||||
|
.sitemap ul {
|
||||||
|
border-top: 1px dashed #f5f5f5;
|
||||||
|
}
|
||||||
|
.sitemap ul {
|
||||||
|
padding: 15px 0 0 60px;
|
||||||
|
border-top: 1px dashed;
|
||||||
|
}
|
||||||
|
.sitemap ul li.title {
|
||||||
|
margin: 0 10px 15px -60px;
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
.box-title {
|
||||||
|
overflow: hidden;
|
||||||
|
line-height: 35px;
|
||||||
|
margin-bottom: 5px;
|
||||||
|
}
|
||||||
|
.sitemap ul li {
|
||||||
|
float: left;
|
||||||
|
margin-bottom: 15px;
|
||||||
|
margin-right: 13px;
|
||||||
|
}
|
||||||
|
.text-color {
|
||||||
|
color: #5ab46a;
|
||||||
|
}
|
||||||
|
.sitemap ul {
|
||||||
|
border-top: 1px dashed #f5f5f5;
|
||||||
|
}
|
||||||
|
.pull-right {
|
||||||
|
float: right !important;
|
||||||
|
}
|
||||||
|
.box-title h2, .box-title h1 {
|
||||||
|
display: inline-block;
|
||||||
|
font-size: 18px !important;
|
||||||
|
margin-bottom: 0px !important;
|
||||||
|
}
|
||||||
|
.title-lb {
|
||||||
|
border-color: #5ab46a;
|
||||||
|
border-left: 4px solid #FFF;
|
||||||
|
margin-right: 5px;
|
||||||
|
padding-top: 2px;
|
||||||
|
}
|
||||||
|
@media (max-width: 767px) {
|
||||||
|
.layout-box, .pannel-box {
|
||||||
|
margin-top: 10px;
|
||||||
|
padding: 0px;
|
||||||
|
}
|
||||||
|
.box-title {
|
||||||
|
margin-left: 6px;
|
||||||
|
margin-right: 6px;
|
||||||
|
margin-bottom: 0px;
|
||||||
|
padding-top: 6px;
|
||||||
|
}
|
||||||
|
.sitemap {
|
||||||
|
padding: 10px;
|
||||||
|
}
|
||||||
|
.box-title h2, .box-title h1 {
|
||||||
|
font-size: 16px !important;
|
||||||
|
}
|
||||||
|
.title-lb {
|
||||||
|
margin-left: 5px;
|
||||||
|
margin-right: 5px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* map 结束*/
|
||||||
|
|||||||
@@ -113,7 +113,7 @@ body{padding-top:80px}
|
|||||||
.stui-header__search{float:right;margin-top:10px}
|
.stui-header__search{float:right;margin-top:10px}
|
||||||
.stui-header__menu{margin:0;padding:0;}
|
.stui-header__menu{margin:0;padding:0;}
|
||||||
.stui-header__menu:before{content:" ";position:absolute;left:0;top:0;right:0;width:100%;height:1px;-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:scaleY(.5);transform:scaleY(.5); border-top: 1px solid #323232;}
|
.stui-header__menu:before{content:" ";position:absolute;left:0;top:0;right:0;width:100%;height:1px;-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:scaleY(.5);transform:scaleY(.5); border-top: 1px solid #323232;}
|
||||||
.stui-header__menu li{margin-top:0; margin-left: 10px; margin-right:10px}
|
.stui-header__menu li{margin-top:0; margin-left: 5px; margin-right:5px}
|
||||||
.stui-header__menu li a{padding:0;line-height:38px;font-size:14px;white-space:nowrap}
|
.stui-header__menu li a{padding:0;line-height:38px;font-size:14px;white-space:nowrap}
|
||||||
.stui-header__menu li.active a{position:relative; color: #fff;}
|
.stui-header__menu li.active a{position:relative; color: #fff;}
|
||||||
.stui-header__user > li{ padding: 15px 0 10px; margin-right: 10px;}
|
.stui-header__user > li{ padding: 15px 0 10px; margin-right: 10px;}
|
||||||
|
|||||||
98
doc/t推荐视频列表-草稿.md
Normal file
98
doc/t推荐视频列表-草稿.md
Normal file
@@ -0,0 +1,98 @@
|
|||||||
|
遮天
|
||||||
|
滤镜
|
||||||
|
战狼
|
||||||
|
战狼2
|
||||||
|
天道
|
||||||
|
黑冰
|
||||||
|
长城
|
||||||
|
异型
|
||||||
|
滴滴代驾
|
||||||
|
我靠鉴宝走向人生巅峰
|
||||||
|
我叫苏妲己
|
||||||
|
九州战神
|
||||||
|
仙逆
|
||||||
|
似锦
|
||||||
|
斗破苍穹
|
||||||
|
庆余年
|
||||||
|
庆余年第二季
|
||||||
|
繁花
|
||||||
|
玫瑰的故事
|
||||||
|
大奉打更人
|
||||||
|
县委大院
|
||||||
|
三国演义
|
||||||
|
三体
|
||||||
|
鬼吹灯
|
||||||
|
云顶天宫
|
||||||
|
盗墓笔记
|
||||||
|
家有儿女
|
||||||
|
湄公河大案
|
||||||
|
亮剑
|
||||||
|
爱情公寓
|
||||||
|
爱情公寓2
|
||||||
|
爱情公寓3
|
||||||
|
我叫王土地
|
||||||
|
唐人街探索案
|
||||||
|
唐人街探索案2
|
||||||
|
唐人街探索案3
|
||||||
|
唐探1900
|
||||||
|
749局
|
||||||
|
红海行动
|
||||||
|
僵尸叔叔
|
||||||
|
哈利·波特与死亡圣器(下
|
||||||
|
超人总动员2
|
||||||
|
速度与激情8
|
||||||
|
美女与野兽(2017)
|
||||||
|
小黄人大眼萌
|
||||||
|
钢铁侠3
|
||||||
|
毒液
|
||||||
|
海王
|
||||||
|
美国队长3:内战
|
||||||
|
变形金刚4:绝迹重生
|
||||||
|
哈利·波特与魔法石
|
||||||
|
蜘蛛侠:英雄归来
|
||||||
|
蝙蝠侠:黑暗骑士
|
||||||
|
超凡蜘蛛侠
|
||||||
|
星球大战8:最后的绝地武士
|
||||||
|
冰雪奇缘
|
||||||
|
星球大战9:天行者崛起
|
||||||
|
小丑
|
||||||
|
阿凡达
|
||||||
|
复仇者联盟4:终局之战
|
||||||
|
阿凡达:水之道
|
||||||
|
泰坦尼克号
|
||||||
|
哪吒之魔童闹海
|
||||||
|
星球大战7:原力觉醒
|
||||||
|
复仇者联盟3:无限战争
|
||||||
|
蜘蛛侠:英雄无归
|
||||||
|
侏罗纪世界
|
||||||
|
狮子王(2019)
|
||||||
|
复仇者联盟
|
||||||
|
速度与激情7
|
||||||
|
冰雪奇缘2
|
||||||
|
复仇者联盟2:奥创纪元
|
||||||
|
黑豹
|
||||||
|
六姊妹
|
||||||
|
侏罗纪世界3
|
||||||
|
唐伯虎点点秋香
|
||||||
|
欢乐颂
|
||||||
|
人再囧途之泰囧
|
||||||
|
囧途
|
||||||
|
速度与激情10
|
||||||
|
绝地战警:生死与共
|
||||||
|
毒液:最后一舞
|
||||||
|
食神
|
||||||
|
终极代码
|
||||||
|
终极代码
|
||||||
|
前任4:英年早婚
|
||||||
|
前任3:再见前任
|
||||||
|
前任2:备胎反击战
|
||||||
|
前任攻略
|
||||||
|
下一任:前任
|
||||||
|
诡迷心笑
|
||||||
|
城中之城
|
||||||
|
精英律师
|
||||||
|
走走停停
|
||||||
|
猎场
|
||||||
|
深海狂鲨2
|
||||||
|
根本停不下来
|
||||||
|
猎金游戏
|
||||||
22
doc/代理整理.md
Normal file
22
doc/代理整理.md
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
青果代理-国内
|
||||||
|
并发:5次/s 5Mbps 360/月
|
||||||
|
并发:40次/s 40Mbps 2,150/月
|
||||||
|
并发:20次/s 20Mbps 1,260/月
|
||||||
|
青果代理-国外
|
||||||
|
并发:2次/s 2Mbps 380/月 330/月
|
||||||
|
|
||||||
|
|
||||||
|
熊猫代理-国内
|
||||||
|
并发:5次/s *bps 420/月
|
||||||
|
|
||||||
|
巨量代理-国内-仅支持国内ip
|
||||||
|
并发:5次/s 5Mbps 279/月
|
||||||
|
|
||||||
|
LTHTTP代理-国内-
|
||||||
|
并发:5次/s 5Mbps 330/月
|
||||||
|
|
||||||
|
骆驼代理-国内-
|
||||||
|
并发:5次/s 5Mbps 330/月
|
||||||
|
|
||||||
|
豆芽代理-国内-
|
||||||
|
并发:5次/s 5Mbps 270/月
|
||||||
57
doc/小说推荐列表草稿.md
Normal file
57
doc/小说推荐列表草稿.md
Normal file
@@ -0,0 +1,57 @@
|
|||||||
|
遮天
|
||||||
|
完美世界
|
||||||
|
圣墟
|
||||||
|
斗破苍穹
|
||||||
|
武动乾坤
|
||||||
|
大主宰
|
||||||
|
雪中悍刀行
|
||||||
|
择天记
|
||||||
|
凡人修仙传
|
||||||
|
仙逆
|
||||||
|
人间有剑
|
||||||
|
步步高升:从省考状元到权力巅峰
|
||||||
|
源力过载
|
||||||
|
天下长宁
|
||||||
|
剑来
|
||||||
|
捞尸人
|
||||||
|
轮回乐园
|
||||||
|
没钱修什么仙?
|
||||||
|
夜无疆
|
||||||
|
谁让他盛世美颜
|
||||||
|
牧神记
|
||||||
|
吞噬星空
|
||||||
|
全家偷听我心声杀疯了,我负责吃奶
|
||||||
|
盖世神医
|
||||||
|
太荒吞天诀
|
||||||
|
不朽剑神
|
||||||
|
乾坤剑神
|
||||||
|
帝武丹尊
|
||||||
|
都市武圣
|
||||||
|
我们的火红年代
|
||||||
|
利欲升迁记
|
||||||
|
做局
|
||||||
|
巅峰权力
|
||||||
|
狂少下山
|
||||||
|
对手
|
||||||
|
人间政道
|
||||||
|
官道之绝对权力
|
||||||
|
我的透视超给力
|
||||||
|
穿书七零:作精女配她暴富了
|
||||||
|
长生仙游
|
||||||
|
分手后我成了前任他小婶
|
||||||
|
农门长姐:我娇养了五个哥哥
|
||||||
|
龙血战神
|
||||||
|
修罗武神
|
||||||
|
穿到三千小世界里当炮灰
|
||||||
|
女总裁的全能兵王
|
||||||
|
九星霸体诀
|
||||||
|
天官赐福
|
||||||
|
全球高考
|
||||||
|
撒野
|
||||||
|
修罗武神
|
||||||
|
人皇纪
|
||||||
|
万古仙穹
|
||||||
|
元尊
|
||||||
|
妙医鸿途
|
||||||
|
最强逆袭
|
||||||
|
重生之国民男神
|
||||||
Reference in New Issue
Block a user