Ning: Dawo da Tsarin API queries

A wannan karshen makon ina aiki a kan aiki inda muke so mu cire abubuwan daga ko'ina Karamin Indiana (gina tare da Ning) a cikin shafi na tsakiya. Da Indianapolis Fringe Biki yana cike da ƙarami kuma Karamin Indiana ya so ya taimaka wajen inganta taron.

API na Ning ba shine mafi tsari ba, kuma takaddun aiki da samfuran samfuran an rasa gaske. Saboda ƙuntatawar lokaci don sanya shafin ya gudana, dole ne in ɗan yanke wasu hanyoyi maimakon gina ingantacciyar hanyar. Shafin yanzu yana aiki, amma yana da lamba mai lamba ba tare da sassauƙa ba. Wataƙila akwai ƙarin ƙarin ingancin abubuwan da ke ciki kuma (misali: tabbatar da cewa an tsara url ɗin yanar gizo daban da url na dandalin tattaunawa, da sauransu)

Hanyar Ning API aiki shine cewa yana da kyau injin bincike inda zaku iya samun sakamakon da kuke buƙata a cikin RSS feed. Mun nemi cewa duk wanda yayi bulogi, ya fara tattaunawa, ko kuma ya loda hotuna musamman yayi alama da abinda yake ciki ba-2008. Wannan yana bani damar gina adreshin ciyarwa na al'ada wanda zai dawo da duk abubuwan da ke ciki (cikin tsari na sauka ta kwanan wata da aka buga tare da URL mai zuwa:

http://smallerindiana.ning.com
/xn/atom/1.0/tag(value=%27indyfringe-2008%27)/content?order=published@D

A cikin shafin, sai na cire kuma tsara bayanai akan shafin ta amfani da Ajin RSS na Magpie na PHP. Danna don zuƙowa kan lambar ko za ku iya duba ko zazzage shi.

kawo rss ningAPI kuma Tsara shi "nisa =" 300 ″ tsawo = "159 ″ class =" daidaiton girman-matsakaici wp-image-2694 ″ />

Akwai wasu ayyuka masu ban sha'awa anan. Godiya ga Tyler Ingram (daga gidana na makarantar sakandare na Vancouver!) Wanda ya taimaka da tsara kwanan watan daidai ta hanyar Twitter.

Har yanzu, ba lambar mafi tsafta bane kuma ba'a raba shi da kyau cikin ayyuka don amfani da sauri - amma yana aiki. 🙂 Na maye gurbin hanyoyin don haka an tsara URL yadda yakamata, Na cire duk wani tambarin HTML daga abun ciki, na tsara kwanan wata, kuma na takaita adadin kalmomin da aka nuna domin sakamakon shafin yayi kama

Wasu daga cikin Babble a kan Babbling Banshee Kamar tare da sake dubawa na Kyakkyawan Bakinciki, Sidney akwai ragowa da ake so da kuma ragowa ba… 8/24 11:55 AM

wannan API babbar fa'ida ce saboda za ku iya biyan kuɗi zuwa abubuwan ciki da batutuwa a cikin hanyoyin sadarwar Ning waɗanda aka keɓance su musamman, ko za ku iya haɗawa da gidan yanar gizon waje tare da abubuwan Ning. Ina fatan cewa Ning yana aiki akan samfurin aikace-aikace da takaddun shaida don haka mutane kamar ni zasu iya yin hakan ba tare da ɓata lokaci sosai ba!

Me kuke tunani?

Wannan shafin yana amfani da Akismet don rage spam. Koyi yadda aka sarrafa bayanan bayaninka.