com web/php: Fix to actually show the news entry in the archive but not in the front page: archive/2014.php archive/entries/2014-05-27-1.xml
| From: | Zeev Suraski | Date: | Wed, 28 May 2014 21:26:22 +0000 |
| Subject: | com web/php: Fix to actually show the news entry in the archive but not in the front page: archive/2014.php archive/entries/2014-05-27-1.xml | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-19040@lists.php.net to get a copy of this message | ||
Commit: d2df82fbd0466dd5f4bee6a9b90d9baf85151626
Author: zeev@php.net <zeev@lap-zeevs.zend.net> Thu, 29 May 2014 00:26:22 +0300
Parents: b1d66cc2e459c504fef1cf72e15ca23566f6a4d4
Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=d2df82fbd0466dd5f4bee6a9b90d9baf85151626
Log:
Fix to actually show the news entry in the archive but not in the front page
Changed paths:
M archive/2014.php
M archive/entries/2014-05-27-1.xml
Diff:
diff --git a/archive/2014.php b/archive/2014.php
index d4278ad..f71a4f7 100644
--- a/archive/2014.php
+++ b/archive/2014.php
@@ -18,7 +18,7 @@ site_header("News Archive - 2014");
<?php
-print_news($NEWS_ENTRIES, array("conferences", "cfp", "frontpage"),
500, 2014);
+print_news($NEWS_ENTRIES, array("conferences", "cfp", "frontpage",
"nofrontpage"), 500, 2014);
/* %s/<a href="\(.*\)"><img src="\/images\/news\/\(.*\)"
alt="\(.*\)" width.*><\/a>/<?php news_image("\1", "\2",
"\3"); ?>/g */
site_footer(array('elephpants' => true, 'sidebar' => $SIDEBAR_DATA));
diff --git a/archive/entries/2014-05-27-1.xml b/archive/entries/2014-05-27-1.xml
index e7dab20..f77eb38 100644
--- a/archive/entries/2014-05-27-1.xml
+++ b/archive/entries/2014-05-27-1.xml
@@ -4,7 +4,7 @@
<id>http://php.net/archive/2014.php#id2014-05-27-1</id>
<published>2014-05-27T17:28:16+00:00</published>
<updated>2014-05-27T17:28:16+00:00</updated>
- <category term="hidden" label="PHP.net frontpage news - hidden"/>
+ <category term="nofrontpage" label="PHP.net frontpage news - hidden"/>
<link href="http://php.net/index.php#id2014-05-27-1"
rel="alternate" type="text/html"/>
<link href="http://php.net/archive/2014.php#id2014-05-27-1"
rel="via" type="text/html"/>
<content type="xhtml">