這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

SedaMicro

外掛說明

SedaMicro allows editors to give readers an option to upload media files directly and without registration to their website. This is best used for Citizen Journalists that want to document their observations without having to register at the destination website.

We recommend using Amazon S3 being used as the WordPress storage, so that one website can interface with citizen journalists and collect the media files. Other websites can connect to the same S3 instance and use the files uploaded after moderations.

Uploaded images will be stripped of their geotags for anonymity. However, editors are advised to moderate the content such that identity of their users are not revealed.

We maintain manuals in our GitHub page under the /manuals/ directory: https://github.com/icthr/sedamicro

螢幕擷圖

  • The page that will show the upload form. Note the included shorthand tag.
  • Generated page with added upload form.
  • View in the Android app. Users can use their browser directly as well.

安裝方式

步驟1:

  • Install Imagick and NumberFormatter, if not already installed on webserver

    • http://php.net/manual/en/intl.setup.php for handling Farsi input from users

    • http://php.net/manual/en/imagick.setup.php for removing Image geotags from user photos

步驟2:

  • Create an S3 Bucket specifically for the uploaded content

步驟3:

  • For Drupal installation:

    • Install and enable the modules needed for Seda-Mirco and their dependencies:
    • AWS SDK for PHP
    • Chaos tools
    • Composer Manager
    • S3 File System
    • Libraries
    • 系統
    • Configure S3 plugin
    • Install Seda-Micro, and make sure all dependencies are met
    • Drupal does not have a default “file browser” and gallery, so pick a plugin
  • For WordPress installation:

    • Install the Amazon S3 plugin and configure it.
    • Install Seda-Micro plugin.
    • Add at least one page with [sedamicro-form] shorthand to embed the upload form.

步驟4:

  • Install SedaMicro Android app on a cellphone with access to the internet.

  • Update the settings menu to point to this page created above.

    • Alternatively, to have a larger coverage of users with different setups, we enabled direct access to uploader.
    • Create one or more posts with shorthand code [seda-micro] in them. This will be replaced by the upload form.
    • You will need to distribute the URL of these pages.

Step 5:

  • Users can use the app or a web browser to upload audio files (and image or videos if web server permits)

  • The WP/Drupal should also be configured to accept the types. This is to prevent PHP/CGI/Exe files from being uploaded

    • Settings for allowed file types are inherited from WP/Druapl
  • Provided Android app allows users to record audio files. They can also select existing media files from their library

  • The captcha is to prevent scripted mass bombardment of storage with files

Step 6:

  • To display or use uploaded files:

    • In WordPress you can directly browse in the gallery, or use template pages that list gallery items
    • In Drupal, content management is left to the administrator. There are multiple plugins available that allow such gallery viewing or image insertion.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈SedaMicro〉的開發相關工作。

參與者

將〈SedaMicro〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄