From 0b4f6635a2870ba4fab30be70cfc8ece1a03806e Mon Sep 17 00:00:00 2001 From: LogMANOriginal Date: Wed, 24 Aug 2016 18:47:05 +0200 Subject: [PATCH] [How to create a new Bridge?] Specify file name instructions more clearly --- How-to-create-a-new-Bridge.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/How-to-create-a-new-Bridge.md b/How-to-create-a-new-Bridge.md index d7d60a1..587df1c 100644 --- a/How-to-create-a-new-Bridge.md +++ b/How-to-create-a-new-Bridge.md @@ -1,6 +1,12 @@ Create a new file in the `bridges/` folder (see [Folder structure](Folder-structure)). -The file name begins with the name of the site, followed by the word 'Bridge' and the file type PHP. +The file name must be named according to following specification: +* It starts with the full name of the site +* All white-space must be removed +* The first letter of a word is written in upper-case, unless the site name is specified otherwise (example: Freenews, not FreeNews, because the site is named 'Freenews') +* The first character must be upper-case +* The file name must end with 'Bridge' +* The file type must be PHP, written in **small** letters (seriously!) ".php" **Examples:** @@ -9,6 +15,7 @@ Site | Filename Wikipedia | **Wikipedia**Bridge.php Facebook | **Facebook**Bridge.php GitHub | **GitHub**Bridge.php +Freenews | **Freenews**Bridge.php The file must start with the PHP tags and end with an empty line. The closing tag `?>` is [omitted](http://php.net/basic-syntax.instruction-separation).