|
Revision 2901, 1.1 kB
(checked in by takemaru, 6 years ago)
|
|
lang/perl/Catalyst-Controller-Atompub: v0.3.0 released. add Helper classes and see Changes in detail
|
| Line | |
|---|
| 1 | --- |
|---|
| 2 | name: MyBlog |
|---|
| 3 | |
|---|
| 4 | Controller::Service: |
|---|
| 5 | workspace: |
|---|
| 6 | - title: My Blog |
|---|
| 7 | collection: |
|---|
| 8 | - Controller::EntryCollection |
|---|
| 9 | - Controller::MediaCollection |
|---|
| 10 | |
|---|
| 11 | Controller::EntryCollection: |
|---|
| 12 | collection: |
|---|
| 13 | title: Diary |
|---|
| 14 | categories: |
|---|
| 15 | - fixed: yes |
|---|
| 16 | scheme: http://example.com/cats/big3 |
|---|
| 17 | category: |
|---|
| 18 | - term: animal |
|---|
| 19 | label: animal |
|---|
| 20 | - term: vegetable |
|---|
| 21 | label: vegetable |
|---|
| 22 | - term: mineral |
|---|
| 23 | scheme: http://example.com/dogs/big3 |
|---|
| 24 | label: mineral |
|---|
| 25 | |
|---|
| 26 | Controller::MediaCollection: |
|---|
| 27 | collection: |
|---|
| 28 | title: Photo |
|---|
| 29 | accept: |
|---|
| 30 | - image/png |
|---|
| 31 | - image/jpeg |
|---|
| 32 | - image/gif |
|---|
| 33 | |
|---|
| 34 | Model::DBIC: |
|---|
| 35 | schema_class: MyBlog::Model::Schema |
|---|
| 36 | connect_info: |
|---|
| 37 | - dbi:SQLite:dbname=test.db |
|---|
| 38 | |
|---|
| 39 | authentication: |
|---|
| 40 | dbic: |
|---|
| 41 | user_class: DBIC::User |
|---|
| 42 | user_field: username |
|---|
| 43 | password_field: password |
|---|
| 44 | password_type: hashed |
|---|
| 45 | password_hash_type: MD5 |
|---|
| 46 | http: |
|---|
| 47 | type: basic |
|---|
| 48 | realm: My Blog |
|---|