Title: Reddit Widget
Author: sk33t
Published: <strong>2008년 3월 21일</strong>
Last modified: 2009년 1월 6일

---

플러그인 검색

이 플러그인은 **최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다**. 워드프레스의
좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 
있을 수 있습니다.

![](https://s.w.org/plugins/geopattern-icon/reddit-widget.svg)

# Reddit Widget

 작성자: [sk33t](https://profiles.wordpress.org/sk33t/)

[다운로드](https://downloads.wordpress.org/plugin/reddit-widget.zip)

 * [세부사항](https://ko.wordpress.org/plugins/reddit-widget/#description)
 * [평가](https://ko.wordpress.org/plugins/reddit-widget/#reviews)
 *  [설치](https://ko.wordpress.org/plugins/reddit-widget/#installation)
 * [개발](https://ko.wordpress.org/plugins/reddit-widget/#developers)

 [지원](https://wordpress.org/support/plugin/reddit-widget/)

## 설명

#### Requirements

 * WordPress 2.2 or 2.0.x/2.1.x with WordPress Widgets
 * PHP 4.3.0 or greater (needed for function file_get_contents)

#### Features

 * Displays your latest liked items (on reddit.com)
 * Completely customizable display
 * Caching for large traffic sites

### Formatting

There are 3 parts needed to format the output.

The first part, called items start in the admin panel, is the first part of the 
widget after the title. For the default formatting, this is just <ul>.

The second part, called items end, is the ending of the widget. By default, this
is:
 </ul> <a href=”%profile%” style=”float:right;”>%username%</a>

The third part is what is called for each item. By default, this is:
 <li style=”
list-style-type: none;”><a href=”%link%”>%title%</a> (<a href=”%more%”>more</a>)
</li>

The premise of calling each value is this:

 1. start
 2. item
 3. item
 4. …
 5. item
 6. end

The formatting for items is:

 * %title% – Title of the item
 * %link% – Link to the item
 * %desc% – Description of the item – Just [link] [more] links
 * %date% – Date the item was submitted (ISO)
 * %more% – More link – The link to the comments
 * %number% – The number of the current item

The formatting for start and end is:

 * %username% – Your username
 * %profile% – Link to your profile
 * %rss% – Link to your profile’s RSS feed
 * %count% – Number of items shown

## 스크린샷

[⌊Default Display⌉⌊Default Display⌉[

Default Display

[⌊Admin Panel⌉⌊Admin Panel⌉[

Admin Panel

## 설치

 1. Download reddit-widget.zip
 2. Extract and upload reddit.php to the plugins/ directory
 3. Enable reddit Widget in the Plugin admin panel
 4. In widget admin panel, place reddit in the sidebar, and edit it to enter your username

## FAQ

  Nothing shows up when I try it or I get an error that file_get_contents doesn’t
exist

This script relies on the function file_get_contents to fetch the RSS feed. If your
host doesn’t allow the use of it, but allows the use of curl, you can replace

    ```
    $stories = file_get_contents($uri);
    ```

with

    ```
    $ch = curl_init();
    $timeout = 5; // set to zero for no timeout
    curl_setopt ($ch, CURLOPT_URL, $uri);
    curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
    curl_setopt ($ch, CURLOPT_CONNECTTIMEOUT, $timeout);
    $stories = curl_exec($ch);
    curl_close($ch);
    ```

  What does cache time mean?

It’s the number of seconds before the content will be requested again. You can set
this to be 0 or -1 to not use the caching system. If you edit any of the widgets
in the widget admin panel, the cache is cleared.

## 후기

이 플러그인에 대한 평가가 없습니다.

## 기여자 & 개발자

“Reddit Widget”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 
기여하였습니다.

기여자

 *   [ sk33t ](https://profiles.wordpress.org/sk33t/)

[자국어로 “Reddit Widget”(을)를 번역하세요.](https://translate.wordpress.org/projects/wp-plugins/reddit-widget)

### 개발에 관심이 있으십니까?

[코드 탐색하기](https://plugins.trac.wordpress.org/browser/reddit-widget/)는, [SVN 저장소](https://plugins.svn.wordpress.org/reddit-widget/)
를 확인하시거나, [개발 기록](https://plugins.trac.wordpress.org/log/reddit-widget/)
을 [RSS](https://plugins.trac.wordpress.org/log/reddit-widget/?limit=100&mode=stop_on_copy&format=rss)
로 구독하세요.

## 기초

 *  버전 **1.2**
 *  최근 업데이트: **18년 전**
 *  활성화된 설치 **10+**
 *  워드프레스 버전 ** 2.0.2 또는 그 이상 **
 *  다음까지 시험됨: **2.7**
 *  언어
 * [English (US)](https://wordpress.org/plugins/reddit-widget/)
 * 태그:
 * [reddit](https://ko.wordpress.org/plugins/tags/reddit/)[widget](https://ko.wordpress.org/plugins/tags/widget/)
 *  [고급 보기](https://ko.wordpress.org/plugins/reddit-widget/advanced/)

## 평점

아직 제출된 리뷰가 없습니다.

[Your review](https://wordpress.org/support/plugin/reddit-widget/reviews/#new-post)

[모든  리뷰 보기](https://wordpress.org/support/plugin/reddit-widget/reviews/)

## 기여자

 *   [ sk33t ](https://profiles.wordpress.org/sk33t/)

## 지원

할 말 있으신가요? 도움이 필요하신가요?

 [지원 포럼 보기](https://wordpress.org/support/plugin/reddit-widget/)

## 기부

이 플러그인이 발전하도록 도우시겠습니까?

 [ 이 플러그인에 기부하기 ](http://ja.meswilson.com/blog/)