akngs / ecogwiki Goto Github PK
View Code? Open in Web Editor NEWWiki engine for Google App Engine written in Python
Home Page: http://www.ecogwiki.com
License: Other
Wiki engine for Google App Engine written in Python
Home Page: http://www.ecogwiki.com
License: Other
๋ก์ปฌ์์ ๋ก๊ทธ์ธ ์ํ๊ณ .read .write ๋ฃ์ ํ์ด์ง ๋ง๋ค๊ณ ๋ค์ ๊ฐ๋ฉด ์ฝ์ด์ง์ง๋ฅผ ์์
๊ตฌ๊ธ ๋๋ผ์ด๋ธ๋ ๋๋๋ฐ์ค์์ ์ง์ ํ ํด๋์ ๋ํด ์ด๋ฏธ์ง๋ฅผ embedํ๊ธฐ ์ฌ์ ์ผ๋ฉด ์ข๊ฒ ์ต๋๋ค. ์๋ฅผ ๋ค์ด
![image](db:image.jpg) //Dropbox
![image](gd:image.jpg) //Google drive
ํน์ ๋ ์ค์ ํ๋๋ง ์ง์ ํ ํ
![image](file:image.jpg) //Mediawiki-like
For example, the range of http://schema.org/featureList property are Text and URL. Since URL is stricter than Text in terms of formality, the system should try to convert it to URL first and then to Text.
A non-admin user who has write access to a page could not read the page unless he is declared in read acl.
Consider the following acl configuration:
.write [email protected]
.read [email protected]
some content here
and user [email protected] reaches the page. He can read the page, so it's meaningless to be declared as a writer!
Of course, generally a user might write the name in both .write
and .read
, but even if he doesn't, the system should understand that he who has write access could also read the content.
It seems like the current models.py calls can_read
inside can_write
for short-circuit logic, meaning,
"he who cannot read are not able to write"
but I think it should be the other way around:
"he who can write can read"
Is there some specific policy on this?
The plain editor is not responsive enough and difficult to use in Safari. The Typed characters appear after some delay.
๋ณธ๋ฌธ์ heading์ ์ค ๋ h1๋ฅผ ์ฌ์ฉํ์ง ์๊ณ h2๋ถํฐ ์ฌ์ฉํ์์ ๊ฒฝ์ฐ์ Duplicate paths not allowed ์๋ฌ๊ฐ ๋ฐ์ํฉ๋๋ค.
์๋ํฐ์์ http://blogs.msdn.com/b/david_gristwood/archive/2004/06/24/164849.aspx ๋งํฌ๋ฅผ ์ถ๊ฐํ๋ ค๊ณ ํ๋๋ฐ _์ดํ์ ํ ์คํธ๊ฐ italic์ผ๋ก ํ์๋๊ณ ์ด ํ ์คํธ๊ฐ ์๋ ํ์ด์ง๋ฅผ Saveํ๋ ค๊ณ ํ๋ฉด
Cannot accept the data for following reasons: Duplicate paths not allowed
๋ผ๋ ๋ฉ์์ง๊ฐ ๋์ค๋ฉด์ save๊ฐ ๋์ง ์์ต๋๋ค.
Deleting page with hierarchical path doesn't work well.
๋๋ถ๋ถ์ ์ํค์์ง์ redirection์ ํตํด ํ ํ์ด์ง๋ฅผ ์ฌ๋ฌ ์ด๋ฆ์ผ๋ก ์ ๊ทผํ ์ ์๋๋ก ํ๋๋ฐ, ๊ฐ์ธ์ ์ผ๋ก๋ ๋ชจ๋์ํค์ ๋ฐฉ์์ด ๋ ์ข์ ๋ณด์ ๋๋ค.
Following pages/features need pagination or something similar:
ํ์ฌ๋ URL ์ฃผ์์ @
๊ฐ ๋ค์ด๊ฐ๋ฉด ๋งํฌ๊ฐ ์๋๋ผ email๋ก ๋ณํํฉ๋๋ค.
@
๊ฐ URL์ ๋ค์ด๊ฐ๋ ๊ฒ์ด ์ ํฉํ๋๋ ๋
ผ์๊ฐ ์๊ธฐ๋ ํ๊ฑฐ ๊ฐ๊ธด ํฉ๋๋ค๋ง..
ํน์ ์ด๋ฅผ ์ง์ํ ์๊ฐ์ด ์์ผ์ ๊ฐ์?
์ด์ ๋ ๊ฐ๋จํฉ๋๋ค. ๊ตฌ๊ธ๋งต์ด ์ด๋ ๊ฒ ์ฐ๊ณ ์์ด์:
[๊ตฌ๊ธ๋งต](https://www.google.com/maps/dir/%EC%97%90%EC%BD%B0%EB%8F%84%EB%A5%B4+%EA%B0%88%EB%9D%BC%ED%8C%8C%EA%B3%A0%EC%8A%A4/%EC%B9%B4%EB%B3%B4%EB%B2%A0%EB%A5%B4%EB%8D%B0/@18.8144822,-53.4862847,4z/data=!4m13!4m12!1m5!1m1!1s0x9aaa92ee319f2cbf:0x95bebc63839846f2!2m2!1d-90.9820668!2d-0.8292784!1m5!1m1!1s0x9358f2159115131:0x6b1af236f918ea1f!2m2!1d-23.6050817!2d15.1217288)
github์ ์ ๋๋ก ๋์ค๋๊ฑธ ๋ณด๋, ์ง์ํด์ฃผ๋ ๊ฒ์ด ์ข๋ค๊ณ ์๊ฐํฉ๋๋ค :)
(ํ๋ฐ: ์๋๋ค๊ณ ํ๋ฉด, "๊ตฌ๊ธ๋งต ์ง์" ์ด์๋ฅผ ๋ฐ๋ก ๋ฃ์ ์๊ฐ)
If you want to cancel your edit and go back to the page, the only way is browser back button, which you need to use several times if you clicked the editor taps. (view=edit#plain -> view=edit#struct -> view=edit => original page)
I think it may be better to have a cancel button that brings you back to the page.
Make page list to show additional information something like thumbnail:
ํด๋ผ์ด์ธํธ์์ ์ฌ์ฉ์๊ฐ ์ ๋ ฅํ HTML ์ํฐํฐ๋ฅผ ์๋์ผ๋ก ๋ณํํด์ ๋ณด์ฌ์ฃผ๊ณ , ์ ์ฅํ ๋ ๋ณํ๋ ์ฑ๋ก ์ ์ฅํ๋ ๋ฌธ์ ๊ฐ ์์ต๋๋ค.
ํ์ด์ง์ <refspec>
์ด๋ผ๊ณ ์ ๊ณ ์ ์ฅ์ ํ๋ฉด, ํธ์ง ์ <refspec>
์ผ๋ก ๋์ต๋๋ค.
(์ด ๋๊น์ง๋ _type=txt๋ฅผ ๋ณด๋ฉด ์ฌ์ ํ <refspec>
๋ก ๋ํ๋ฉ๋๋ค)
์ฌ๊ธฐ์์ ๋ฐ๋ก ์ ์ฅ์ ๋๋ฅด๋ฉด ๋ณํ๋์ด์ ์ ์ฅ์ด ๋ฉ๋๋ค. ์ด์ ๋ txt ํ์์ผ๋ก ๋ด๋ <refspec>
์ผ๋ก ๋์ต๋๋ค. ํ๋ฉด์ ๋ ๋๋ง๋ ๋๋ ํ๊ทธ๋ก ์ธ์ํ๊ธฐ ๋๋ฌธ์ ๋ํ๋์ง ์์ต๋๋ค.
/sp.flush_cache ํ๋ฉด ๊ด์ฐฎ์
์ผ๋จ ACL์์ด ํ์ด์ง๋ฅผ ๋ง๋ค๊ณ ACL์ ์ถ๊ฐํ๋ฉด ๊ด์ฐฎ์
Allow customization of the schema properties' cardinality.
Read http://microformats.org/wiki/cardinality to understand design decisions.
์ค์๋ก ์ด๋ ํ์ด์ง์ redirect๋ฅผ ์๊ธฐ ์์ ์ผ๋ก ํ๋ ๊ฒฝ์ฐ์, ์ด๋ฅผ ์์ ํ ์ ์๋ ๊ฒฝ์ฐ๊ฐ ๋ฐ์ํฉ๋๋ค.
๊ฐ๋ น, self-redirect ํญํ
์ด๋ผ๋ ํ์ด์ง์
.redirect self-redirect ํญํ
์ด๋ผ๊ณ ์ ์๋ค๋ฉด, ์ด ํ์ด์ง๋ฅผ ๋ฐฉ๋ฌธํ๋ฉด ๋ฌดํ ์๊ธฐ ์ํ์ ๋น ์ง๊ฒ ๋๊ฒ ์ฃ . ํฌ๋กฌ์ ๊ฒฝ์ฐ ์ด๋ฅผ ๋ฐ๊ฒฌํ๊ณ ์๋ ค์ค๋๋ค:
์ด๋ ์์๋ ํ๋์ ๋๋ค. (๋ฌผ๋ก ํ์ด์ง์์ ๋ฏธ๋ฆฌ ์๋ ค์ฃผ๋ฉด ์ข๊ฒ ์ฃ )
๊ทธ๋ฐ๋ฐ ๋ฌธ์ ๋, ์ด๋ฅผ ๊ณ ์น๊ธฐ ์ํด์ ์๋์ผ๋ก self-redirect ํญํ?view=edit
์ผ๋ก ์ ์ํด๋ ํธ์ง ํ๋ฉด์ด ๋ํ๋์ง ์๊ณ ๊ณ์ํด์ ์ํ ์ค๋ฅ ํ์ด์ง๊ฐ ๋ํ๋๋ค๋ ๊ฒ๋๋ค. ์ด๋ ์๋ชป๋ ์ค๋ฅ์
๋๋ค
self-redirect ํญํ?_type=txt
๋ก ์ ๊ทผํ๋ฉด ์ ๋๋ก ํ๋ฉด์ rawbody๋ฅผ ๋ํ๋ด์ค๋๋ค. ์ด๋ฅผ ์ด์ฉํด self-redirect ํญํ?_type=txt&view=edit
์์ผ๋ก ์ ๊ทผํ๋ฉด ํธ์งํ๋ฉด์ด ๋ํ๋๊ธด ํฉ๋๋ค๋ง.. ํด๊ฒฐ๋์์ผ๋ฉด ํฉ๋๋ค.
๋ค์์ ์์ ํ์ด์ง์ ๋๋ค. (์ธ์ ์์ ๋๊ฑฐ๋ ์์ด์ง์ง๋ ๋ชจ๋ฅด๊ฒ ์ต๋๋ค. ๊ณ ์น๋ ๋น์์๋ง ์ฐธ๊ณ ํด์ฃผ์ธ์)
There are many ecogwikis, these have same look and feel. It would be better it display site name and logo image at top-bar. If user did not have logo image, default image (ecogwiki logo) can be displayed.
I suggest {{ logo_image }} {{ site_name }} --------- {{ preferences }} {{ logout }} {{ search }}
์ฌ์ฉ์๋ ์ํค ํ์ด์ง์ ์ ๋ชฉ์ ๋ฐ๊พธ๊ณ ์ถ์ด์ rename์ ํ๊ณ ์ถ์ดํฉ๋๋ค.
๊ทธ๋ฐ๋ฐ ์ํค์์ ํ์ด์ง ์ ๋ชฉ์ด ๊ณง id์ด๋ผ ๊ฐ๋จํ์ง ์์๋ฐ,
๊ทธ๋์ ์ฌ์ฉํธ์์ฑ์ ์ํด ๋ค์๊ณผ ๊ฐ์ ์ ๋ชฉ๋ณ๊ฒฝ ๊ธฐ๋ฅ์ ์ด๋จ๊น, ์ ์ํด๋ด
๋๋ค.
๋ฆฌ๋น์ ๋๊ธ์ '์ด์ ํ์ด์ง์ ํด๋น ๋ฆฌ๋น์ ๊น์ง' ๋ณด๋ฌ ๊ฐ๋ ๋งํฌ๋ฅผ ๋ค๋ ๊ฒ์ด ํ์ฌ๋ก์ ๊ฐ๋จํ์ง๊ฐ ์๋ค์.
์ด๋จ๊น์?
์ฌ๋ฌ๊ฐ์ ๊ฐ์ ๊ฐ์ง๋ schema property๋ฅผ ๋ฐฐ์ด ํํ๋ก ์ ์ธํ ์ ์๋๋ฐ, ์ด๊ฒ์ด json ์ธ์ฝ๋ฉ ์ ๋ฌธ์ ๋ฅผ ์ผ์ผํต๋๋ค.
์:
author: ["๊ฐ๊ท์", "๊น์ฅํ"]
๋ก๊ทธ๋ฅผ ๋ณด๋ฉด schema.ThingProperty
์ JSON์ด serialize ์ํค๋ ค๋ค ์คํจํ๋ค๊ณ ๋์ต๋๋ค.
ERROR 2014-02-08 07:45:49,961 webapp2.py:1528] <schema.ThingProperty object at 0x10709c750> is not JSON serializable
์์ ํ์ด์ง์์ ์๋ฌ๋ฅผ ํ์ธํด๋ณผ ์ ์์ต๋๋ค.
๋์๋ฌธ์๋ ๋์ด์ฐ๊ธฐ๋ ์ํค ์ด์์๋ง๋ค ๋ฌผ๋ก ๋ค๋ฅธ ์ ์ฑ
์ ๊ฐ๋ ๊ฒ์ด ์ข์ง๋ง,
์ด๋ฏธ ๋์ด์ฐ๊ธฐ์ ๋ํด์ "์๋ฒ๊ฐ ์์์ ์ธ๋์คํ์ด์ค(_
)๋ก ๋ณ๊ฒฝํด์ฃผ๋ ๊ฒ"๊ณผ ๊ฐ์ด
์ฌ์ฉ์ ํธ์๋ฅผ ์ํด ๋์๋ฌธ์๋ ๊ทธ๋ฌํ ๊ธฐ๋ณธ ์ ์ฑ
์ ์ ์ํด ๋ด
๋๋ค.
์ฃผ๋ ์ด์ ๋, "์ฌ์ฉ์๋ก์ ์์ด๋ก๋ ํ์ด์ง๋ฅผ ์์ฑํ ๋ ๋งค๋ฒ ๊ณ ๋ คํ๊ธฐ ๋ฒ๊ฑฐ๋ก์์" ์ ๋๋ค.
๋ค๋ฅธ ์ํค๋ ๋ชจ๋ฅด๊ฒ ๊ณ , Wikipedia๋ ํ์ฌ ๋ค์๊ณผ ๊ฐ์ ๋ฐฉ์์ผ๋ก ํด์ฃผ๋ ๊ฒ ๊ฐ์ต๋๋ค:
์ฒซ๊ธ์๋ ์๋ฒ์์ ์๋์ผ๋ก ๋๋ฌธ์๋ก ๋ณ๊ฒฝํ๋ค. (์: continental drift)
๋๋ฒ์งธ ๋จ์ด๋ถํฐ๋ ๋ฐ๊พธ์ง ์๋๋ค. (์: Continental Drift)
์ฌ์ฉ์๋ ํ์ํ๋ฉด redirect ๋ฑ์ ์ถ๊ฐํ ์ ์๋ค.
ํน์ ์ด๋ฐ ์์ ๋ฐฉ์์ ๋ํด ์๊ฐํ๊ณ ์๋๊ฒ ์๋์ง, ์๊ณ ์ถ์ต๋๋ค.
๋ค์๊ณผ ๊ฐ์ ๋ฌธ์์ด์ ์ ๋๋ก ํ์ฑํด ๋ด์ง ๋ชปํ๊ณ ์์ต๋๋ค. ๋ค์ }}
๊ฐ ๋ถ๋ค์:
{{url::http://ecogwiki.com/}}
๊ฒฐ๊ณผ:
<a href="...">http://ecogwiki.com}}</a>
์ฝ๋๋ฅผ ๋ณด๋ md_url.py
์ url_re ๊ฐ ๋ด๋ถ์ http://
๋ฅ๊ฐ ๋ค์ด๊ฐ๋ ๋ชจ๋ ๋งํฌ๋ฅผ ๋จผ์ ํ์ฑํ๊ธฐ ๋๋ฌธ์ ๋๋ ์๋ฌ์ธ ๊ฒ์ผ๋ก ๋ณด์
๋๋ค. ์ฌ๊ธฐ์ ๋จผ์ {{url
๊ณผ http://ecogwiki.com/}}
์ผ๋ก ๋์ด์ ธ์, ์ดํ์ md_itemprop.py
์์ ์ฒ๋ฆฌ๋์ง ์๊ณ ์๋ค์.
schema.org์ ๋ฐ๋ฅด๋ฉด ๊ธฐ๋ณธ Article๋ง ํด๋ URL์ด ๋ค์ด๊ฐ๋ itemprop์ด 7๊ฐ์ง๋ ๋๋๋ฐ, ๊ณ ์ณ์ผ๊ฒ ์ฃ .
markdown.inlinepatterns.Patterns
๋ฅผ ์ด์ฉํ๋ re pattern์ด ์ฝ๊ธฐ ํ๋ ๋ฐ, ํน์ re.VERBOSE ํ๋๊ทธ๋ฅผ ์ฌ์ฉํ์ค ์๊ฐ์ ์๋์?
Google, Daum, Naver
Markdown extension for a long text schema property. The notation should allow users to specify multi-paragraph text block as an itemprop
.
๋ฆฌ์คํธ์์ดํ
(li
) ์์ ๋ ๋ฆฌ์คํธ์์ดํ
(li
)์ด ์ค์ฒฉ๋ ๋, multiparagraph๋ก ํํํ๋ ๊ฒฝ์ฐ์ CSS๊ฐ ํ์ด์ง๋ ๊ฒฝ์ฐ๊ฐ ์์ต๋๋ค.
์:
* ์ฒซ๋ฒ์งธ ์์ดํ
1. ์ค์ฒฉ ์์ดํ
1
2. ์ค์ฒฉ ์์ดํ
2
* ๋๋ฒ์งธ ์์ดํ
๋ค์์ ๋ ๊ทธ๋ฆผ์ ๋น๊ตํด์ฃผ์ธ์ (์ผ์ชฝ์ด ํ์ฌ, ์ค๋ฅธ์ชฝ์ด ์์ ์):
์ด๋ margin-top
, margin-bottom
์ด li > p
์๋ง ์ ์ฉ์ด ๋์ด ์๊ณ , li > ol, li > ul
์๋ ์ ์ฉ์ด ์๋์ด ์๊ธฐ ๋๋ฌธ์
๋๋ค.
๋ฐ๋ผ์ ์ด์ ๋ํ ํด๊ฒฐ์ฑ
์ผ๋ก article .body li
์๋์ ์๋ p, ul, ol
๋ชจ๋์๊ฒ margin
์ ์ ์ฉํด์ฃผ๋ ๊ฒ์ด ๋ง๋ค๊ณ ๋ด
๋๋น.
14px
์ ์ด๋์ ์ ์๋๊ฑด์ง ๋ชจ๋ฅด๊ฒ ๋ค์. ์ด์ฉ๋ฉด 1em
์ผ์ง๋ ๋ชจ๋ฅด๊ฒ ์ต๋ใ
.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.