⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rssfilter_samplescript_futurerss.php

📁 for news RSS to HTML as ASP
💻 PHP
字号:
<?php//// rssFilter.php Filter RSS feeds//// Copyright 2007 NotePage, Inc.// http://www.feedforall.com//// NotePage, Inc. grants registerd users of our FeedForAll and/or// FeedForAll Mac product(s) the right to install and use the// rssFilter.php script free of charge.// Please refer to the EULA included in the download for full license// terms and conditions.//// $Id: rssFilter_SampleScript_FutureRSS.php,v 3.0 2007/04/16 14:23:04 housley Exp $//// The URL of the feed.$XMLfilename = "http://www.feedforall.com/blog-feed.xml";$outputCacheTTL = 3600;$useOutputCaching = 0;$updateChannelDates = 1;//// Since we are calling rssFilter.php from here, we don't want// to include a separate script file.$FilterScriptFilename = "DO_NOT_INCLUDE_SCRIPT";if (!isset($_REQUEST["buildScript"])) {  @include_once("rssFilter.php");}$matchType = "AND";$filterElements = Array(// Entry #1Array("Field" => "~~~ItemPubDate~~~",      "Filter" => "beforeOrOnDate",      "Value" => "today",      "MatchCase" => "0"      ));//// The function that decides if the current item will be used.// return TRUE to use the itme, FALSE to notif (!isset($_REQUEST["buildScript"])) {  Function rssFilter_useItem($currentItem) {    // the default fall through is to use the item    if ($currentItem->beforeOrOnDate("~~~ItemPubDate~~~", "today", 0)) {      return TRUE;    }    return FALSE;  }}?>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -