Whangai KrISS: Maama RSS Panui + Whakauru

Mō Wiki RSS kaipānui kua korerohia e maatau nga korero. He rereke taatau kei te kapua pera i te papamahi me tenei ra panui i runga i te Paetukutuku8 Kei te taha ahau Whangai KrISS, he kaipānui RSS maamaha ka taea e taatau te whakauru maamaa ki ta maatau kaitoha rohe.

Whakauru + Whirihoranga

Me neke tuatahi ki te whakauru me te whirihora Whangainga KriSS ana ka tirohia etahi o ona ahuatanga. Mo tenei i whakamahia e au wheehe debian.

I roto i te tauranga ka tukuna e matou:

sudo apt-tiki tāuta libapache2-mod-php5 php5-curl

Na ka mahia e matou nga mahi e whai ake nei:

wget https://raw.github.com/tontof/kriss_feed/master/index.php -O /tmp/index.php sudo mkdir / var / www / kriss sudo cp /tmp/index.php / var / www / kriss / sudo chown -R www-raraunga: www-raraunga / var / www / kriss /

I tenei wa me tuwhera he tirotiro (me te kii kei te tika te mahi a te kaituku) ka uru atu tatou ki:

http://127.0.0.1/kriss

Ka whiwhi maatau i tetahi mata hei whakanoho i to maatau ingoa ingoa me te kupuhipa.

kriss-whangai-whakauru

A muri ake ka taea e taatau te uru atu ki te paewhiri whirihoranga, hei kawemai i tetahi konae .opml me o maatau papaanga pai.

kriss_feed1

Ka taea e taatau te whirihora i te maha o nga whiringa, te kawemai, te kaweake me nga waahanga hou ka taea te whakamahi i nga Mono whakauru, ahakoa kaore ano kia whakamahia.

kriss_feed2

Ko te mutunga he penei te ahua:

kriss_feed

Whangai KrISS i muri o te takawaenga

I tenei wa ka mahi tonu ta raatau kaipānui RSS, engari, e mohio ana te nuinga o koutou, ka whakatere au i muri o tetahi Takawaenga mena kaore au e whakamahi i te IP me te tauranga tika, kaore e taea e au tetahi mea.

I whakapā atu ahau ki tōna kaiwhakawhanake mā GitHub a ka homai e ia te whakautu:

- Ka whakatuwherahia e matou te konae index.php e kitea ana i / var / www / kriss / ka rapu raina 3946 tera pea te mea penei:

curl_setopt ($ ch, CURLOPT_ENCODING, "); curl_setopt ($ ch, CURLOPT_RETURNTRANSFER, pono); curl_setopt ($ ch, CURLOPT_BINARYTRANSFER, pono); curl_setopt ($ ch, CURLOPT_URL, $ url); curl_setopt ($ ch, CURLOPT_HEADER, pono);

I raro noa iho ka taapiri atu matou:

curl_setopt ($ ch, CURLOPT_PROXY, "http://192.168.1.1"); curl_setopt ($ ch, CURLOPT_PROXYPORT, 3128); curl_setopt ($ ch, CURLOPT_PROXYUSERPWD, "kaiwhakamahi: kupuhipa"); curl_setopt ($ ch, CURLOPT_PROXYTYPE, CURLPROXY_HTTP); curl_setopt ($ ch, CURLOPT_PROXYAUTH, CURLAUTH_BASIC);

I te mea e tika ana, me whakakapi e ratou nga uara o te Takawaenga, te Tauranga a ki te kore e whakamahia e ratou te ingoa kaiwhakamahi me te kupuhipa, ka waihohia te waahi, i waenga i nga utu

curl_setopt($ch, CURLOPT_PROXYUSERPWD, "");

Na inaianei ka taea e taatau te whakahou ..

Nga Ahinga Whangai KrISS.

  • Tere me te ngawari ki te whakauru.
  • Kaore e hiahiatia te paatai ​​SQL.
  • Ka taea e taatau te whakarereke i tona ahua ma te whakamahi i nga konae .CSS.
  • Ka taea e taatau te tiaki i te maatatanga o te papaanga ma te whakakii i te iwi, i te taha takitahi ranei.
  • He maha nga huarahi hei whakahou i nga korero ma te whakamahi i te Cron, PHP, te JS ranei.
  • Pokatata papapātuhi whakarite.
  • Ka taea te kawemai / kaweake i nga konae .OPML.
  • Tautoko mo nga taputapu waea.
  • He maha atu, maha atu.

Tuhinga o mua Whangai KrISS Me uru noa ki tenei whaarangi, kowhiri i te kaupapa CSS e pai ana ki a maatau, ka penapenahia /var/www/kriss/inc/user.css

Ko te kōpaki INC me hanga e koe kia rite ki te tikanga, me te whakarereke i te ingoa o te CSS ka tangohia e maatau kaiwhakamahi.css.

Mena kei te hiahia koe i etahi atu korero, tirohia te paetukutuku whārangi kāinga to waahi ranei ki roto GitHub.


Ko nga korero o te tuhinga e piri ana ki o maatau kaupapa o matatika whakatika. Ki te ripoata i tetahi paatene paato Here.

13 korero, waiho maau

Waiho to korero

Ka kore e whakaputaina tō wāhitau īmēra.

*

*

  1. He kawenga mo nga raraunga: Miguel Ángel Gatón
  2. Te kaupapa o te raraunga: Whakahaerehia te SPAM, te whakahaere korero.
  3. Ture: To whakaae
  4. Whakawhitinga korero: Kaore nga korero e tukuna ki nga taha tuatoru engari ma te ture herenga.
  5. Rokiroki raraunga: Paetukutuku e whakahaerehia ana e Occentus Networks (EU)
  6. Tika: I nga wa katoa ka taea e koe te whakaiti, te whakaora me te muku i o korero.

  1.   eliotime3000 ka mea

    He tino pai, engari i tenei wa kei te whakamahi ahau i te kaiparau whangai Thunderbird (engari ko Icedove).

    1.    eliotime3000 ka mea

      PS: Kua whakamahia e Thunderbird a Australis i tana putanga 17.0.8.

      1.    pihikete ka mea

        Mai i tera tau ka whakapono ahau.

        1.    eliotime3000 ka mea

          Aue pai. Ki taku whakaaro i muri i nga tau kua pahure ake nei kaore au i te whakamahi (he iti nei taku whakamahi i taku Icedove ESR me taku OpenPublicMail).

  2.   Pūoro ka mea

    @Elava, kei kona tetahi waahanga mo nga kaupapa kei runga i te rangitaki? I whakatauhia e au etahi kaiawhina ki te tae i nga tuhinga a bash me te hiahia au ki te tohatoha. http://xr09.github.io/rainbow.sh/

    1.    elav ka mea

      He aha te tikanga o te Wahanga Kaupapa? O_O

      1.    Pūoro ka mea

        He waahanga hei whakaatu i nga hotaka na maatau ake i mahi.

        1.    elav ka mea

          Ah !! E te tangata, ka tuhi noa koe i tetahi panui, ana koira, i raro i te waahanga o nga Taupānga ana koira ana! 😛

  3.   Ernest Infante ka mea

    TE RSSOwl ki ahau nei he tino rereke rawa

    1.    elav ka mea

      Ae, engari e korero ana taatau mo te kaipānui RSS i te Kapua. 😉

      1.    eliotime3000 ka mea

        Kaore i te kiko i te kapua, engari ka taea te tuku hei ratonga taapiri mo nga kaiwhakamahi o tenei paetukutuku.

  4.   pablox ka mea

    He rawe, ki te paahitia te whakamatautau ma te urunga mai i taku waea atamai, ka mutu taku whakamahi i te + feedme

  5.   kik1n ka mea

    Ka tūtohu ahau kia whakamutu 😀 tenei tino pai.