원격블로깅을 위한 또다른 방식 AtomPub

여태 블로그 원격업로드를 조사해보며, Metaweblog 기반의 XMLRPC만 작업을 해보았는데요~

일본쪽 유명블로그에 업로드하는 것을 알아보다보니 AtomAPI를 구현해야 될듯하여 정리하게 되었습니다.
아래의 문서는 http://mattn.kaoriya.net/web/20071106124750.htm 에서 발췌하여 기록합니다.

유명한 블로깅의 대부분은 원격에서 블로그를 업데이트 할 메커니즘을 제공합니다.
그 중에서도 일반적인 것이 일전에 말씀 드린 “XMLRPC”를 기반으로 한,

  1. Blogger API
  2. MetaWeblog API
  3. MovableType API

이렇게 3가지가 보편화 되어 있습니다.

현재 Blogger는 XMLRPC 방식이 아닌 Atompub를 사용하고 있습니다.
보안상 XMLRPC보다는 Atompub가 더 안전하기때문에 XMLRPC를 사용하는 사이트들은 가급적 사용을 자제시키려고 합니다.
네이버 블로그의 경우 아예 사용가능함에도 불구하고 언급도 잘 안해놓고 있는 것을 보면 알 수 있습니다.

XMLRPC의 경우는, 원격 메소드로 XML을 생성하여 블로그 게시물 제거 등을 실시하고 있지만 AtomPub의 경우 전송되는 XML 단위 자신이 문서가됩니다. 이 문서를 GET / POST (PUT) / DELETE 메서드를 사용하여 문서 (블로그)를 업데이트합니다.

AtomPub는 Atom 피드 끈을 정한 등록용 URI에 문서를 POST (PUT)하는 것으로 새 항목 기존 항목을 끈 정한 편집 URI에 POST (PUT)하는 것으로 항목을 업데이트하고 기존 항목의 편집 URI에 DELETE 메서드를 보내는 것으로 항목을 삭제합니다.

일부 서버에서 DELETE 메서드를 받아들이지 않는 것도 있기 때문에, “X – Http – Method – Override : DELETE”라는 헤더 DELETE 메서드와 동일한 작업을 수행할 수있는 것처럼되어있는 서버도 있습니다. 이 2 개의 API의 주요 차이점은 문서 형식 및 인증 방법을들 수 있습니다.

XMLRPC의 경우 각 메서드에서 사용자 ID 및 암호를 전달할 수 있습니다.
또한, XMLRPC에서 전송되는 XML 자신은 메서드 매개 변수를 포함, 그 안에는 사용자 ID와 암호를 포함하게됩니다.
따라서 이차적인 이용이 불가합니다.

하지만 AtomPub의 경우는 위에서 설명한대로 전송되는 XML 자신이 문서이기 때문에 재차 사용할 수 있습니다.
또한 인증 방법은 일반적으로 Basic 인증 또는 WSSE 인증이 사용되고 있으며 이를 통해 사용자 아이디와 비밀번호가 암호화 되어 전송되기때문에 XMLRPC보다는 안전하다고 할 수 있겠네요!

그럼 간략하게 인증방식에 대해 짚고 넘어가보도록 하겠습니다.

  1. Blogger 방식 : Basic인증 (https/http든 인증에는 지장이 없습니다. 다만 추후 https만 될 것이라고 예상)
  2. 고전적인 방식 : WSSE인증 (TypePad, Livedoor, Lovelog, So-net등에서 사용)
    1. TypePad, Livedoor, Lovelog : 블로그 관리화면에 Login 사용자 이름과 암호를 사용하여 WSSE 인증
    2. So-net : Atom API에 게시하기 위한 전용 비밀번호를 검색하고 이를 사용하여 WSSE 인증, 이름은 So-net에 로그인할 때의 사용자 이름이 아닌 So-net 블로그 별도로 설정한 사용자 이름을 사용합니다.
  3. 독자적인 방식 : WSSE인증 (Ameba)
    1. WSSE 생성 방법이 아메바 독자적인 것으로 보이지만 아마도 Atom 명세서를 오독하면서 구현했다고 생각됨

이렇듯 실제로 위와 같은 인증방식 이외에도 세부적으로 차이가 있고 그 부분을 다 고려하면 Atom API의 구현 방식의 종류는 무수히 많을 수도 있습니다. 하지만 대부분 고전적인 방식을 사용하고 있으니 참고하시면 될 것 같구요! WSSE 인증스펙에 대해 간략하게 설명 드리도록 하겠습니다.

  • Username : 해당 블로그에서 요구하는 사용자 아이디 및 이름
  • passwordDigest : base64 – SHA1(Nonce.Created.Password)를 연결하여 만들어 암호화 (Oauth 인증과 유사)
  • Timestamp : Nonce를 생성한 날짜 2012-12-31T00:00:00Z와 같은 형식 (ISO-8601)
  • Nonce : 클라이언트가 http요청을 할때 마다 고유하게 만들어진 임의의 식별자로 Atom API에서는 일반적으로 16진수의 임의의 자리수로 생성

이렇게 암호화에 대해서 간략하게 살펴보았습니다.
마지막으로 대부분의 블로그는 다음과 같은 API로 구현하고 있습니다.

아래 리스트는 일본쪽 블로그에 관련된 정보를 가져왔으니 대개의 형식이 아래와 같다고 생각하시면 됩니다.

블로그 제공 API 형식 진입점
teacup XMLRPC HTML http://white.ap.teacup.com/applet/ [username] / postmsgrpc
EGOIST 블로그 XMLRPC HTML http:// [blogid] .ebsystems.jp / xmlrpc.php
내 블로그의 처음으로 가진 blogid
FC2 블로그 XMLRPC HTML http://blog.fc2.com/xmlrpc.php
JUGEM XMLRPC HTML http:// [blogid] .jugem.jp / admin / xmlrpc.php
JustBlog Atompub HTML http://app.justblog.jp/t/atom/weblog/blog_id = blogid]
Livedoor Blog Atompub HTML http://cms.blog.livedoor.com/atom/blog_id = blogid]
MSN Space XMLRPC HTML https : / / storage.msn.com / storageservice / MetaWeblog.rpc
NetLaputa XMLRPC HTML http://blog.netlaputa.ne.jp/rpc/mt-xmlrpc.cgi
News Handler XMLRPC HTML http://blog.nettribe.org/xmlrpc.php
Seesaa 블로그 XMLRPC HTML http://blog.seesaa.jp/rpc/
WordPress XMLRPC HTML http://faq.wordpress.com/xmlrpc.php
Yahoo! 블로그 XMLRPC HTML http://api.my.yahoo.co.jp/RPC2
Blogger Atompub HTML http:// [blogid] .blogspot.com / feeds / posts / default
Blogger XMLRPC HTML http://blog.goo.ne.jp/xmlrpc.php
pwBlog XMLRPC HTML http://www.pwblog.com/xmlrpc
Vox Atompub HTML http:// [blogid] .vox.com / library / posts / atom.xml
는이라고북마크 AtomPub TEXT http://b.hatena.ne.jp/ [username] / atom /
Hatena 다이어리 Atompub Hatena 표기법 http://d.hatena.ne.jp/ [blogid] / edit
아메바 Atompub HTML http://ameblo.jp/servlet/_atom/blog/ [blogid]
코코 로그 XMLRPC HTML http://app.f.cocolog-nifty.com/t/api
도리코무 XMLRPC HTML http://blog.drecom.jp/api/xmlrpc
블로그 명 XMLRPC HTML http://app.blog.ocn.ne.jp/t/api/
PLAYLOG XMLRPC Wiki http://playlog.jp/_atom/blog/ [blogid]
0 teams the real dealA touchdown, wherein the player runs with the ball into the opposing team’s zone, or catches it there, earns the team 6 points and a ‘try’. In a try, the team can attempt to kick the ball over opposition’s crossbar, for a single point, or run and pass it into the end zone, for 2 points.. But it turned out “pygmy hippo” was a misleading term (no doubt coined by Cheap NFL Jerseys the crooked hippo pet industry) and Billy eventually grew too big to stay at the White House. At this point begins a string of events that would lead Billy to become more oakley sunglasses outlet influential in the hippo world than Coolidge was among the humans.. Food stamps are just one of the costs. Last year, the food assistance program provided benefits for 16 million children, compared with 9 million before the recession started in December of 2007. We’re also really pleased with our improving video results. In the first quarter, we lost 39,000 video customers, which is less than half of last year’s first quarter, which continues the trend of improving year over year video performance, while still facing a larger competitive footprint. He discovered that, starting cheap jerseys in the fall of 2004, Petee was teaching 152 ray bans sale students both athletes and non athletes in directed studies. And Petee was teaching 120 students the next semester, doing the work of more than three full time professors. He called upon his closer in the seventh. He trusted his ace in the ninth.. After all (wonderful as it is), with NPR you only get NPR. With satellite radio, you get NPR and the NFL, Public Radio wholesale jerseys International, the Eminem channel, music streams devoted exclusively to hair bands, 70s rock, Howard Stern, Elvis, and classical orchestral and choral works.. This refocusing of our assets is well under way. During the quarter we acquired SignStorey, which we renamed CBS Outernet, a video in store advertising company and we further invested in our online properties to help build our aggregate audience and we significantly built out our digital billboards and transit displays around the world. To decipher your neck size, have the person assisting you position the measuring tape just under cheap ray bans the Adam’s apple. Starting there, wholesale nfl jerseys carefully wrap the measuring tape around the neck so that it is at the height where your neck and shoulders meet, or where a collar would be. To prepare for the fasting, Muslims wake up before dawn and the Fajr prayer to eat a meal. Muslims break their fast at Maghrib (sunset) prayer time with a meal called Iftar. Instantaneous. Seamless. For the latter, with Christine Michael playing well in the preseason, Seattle will have a nice duo between the two backs. Combine that with the electrifying Russell Wilson and Seattle will be in the mix for Super Bowl contention.

Sell CC Fresh Visa,MasterCard,American Express,Discover All Country

Sell CC Fresh Visa,MasterCard,American Express,Discover All Country

There are some similarities with field hockey but fake ray bans in shinty it is permissible to play the ball in the air, to raise the caman in the air and to return the ball to play by hitting it overhead. The full rules and regulations for shinty can be found at the official website for the game.. You just need your cassette tool. Put that on there and give it a good little torque, Cheap nfl jerseys make sure that that’s not going to come off. But no, Fight is not great with metaphors. It chooses to depict this internal fight as a literal fight; the man has a boxing match over Internet porn against Satan and his tiny, tiny nipples.. They are a bit on the pricey side, but come with great support. They’re not generally used in competitive play, but make an attractive and fun addition to your home replica oakleys dcor.. can act as bronchodilators and increase heart rates, in addition to their mild androgenic effects. Other banned androgenic agents include bambuterol, clenbuterol, salbutamol, tibolone, zeranol, zilpaterol and selective androgen receptor modulators. Thanks Leo and hello everybody. Starting with the second quarter financial highlights for the total company, we reported consolidated sales volume of 11.5 million barrels, up seven tenth of 1% from a year ago, while total company sales to retail declined seven tenth of a percent in the second NFL Jerseys Cheap quarter. He will eat bananas in a smoothie. But otherwise, he prefers not to eat fruits.”. I live in Bangalore, down the road from the Karnataka State Cricket Association (KSCA). I am cheap nfl jerseys a member of the KSCA, which means that I can watch all the matches played in its stadium for free, and from a comfortable seat next to the pavilion. The Kings scratched D Matt Greene, D Tom Gilbert and LW Andy Andreoff.. The total compound must be 90% alcohol or else it won’t burn very well. Depending on whether you bought your calcium acetate or made it at home, you’ll either have to add water or not. Figures 1 through 3 show the probabilities of allele frequencies in the next generation of each of these populations. Figure 1: Probabilities of discount football jerseys allele frequencies in the next generation, in a population of five organisms (N=5).. That’s right. The NCS is apparently looking for the average Joe Dirtbiker to serve in a covert group of government spies. Hill is a 36 year old left hander who was having his best season before going on the disabled list with a finger blister. He was 9 3 with a 2.25 ERA in 14 starts with Oakland, striking out 90 in 76 innings. Colts players, having seen the game slip away due to a coaching folly, were left stunned. Whalen, href=”http://cheapjerseysupply.com/” target=”_blank”>cheap jerseys the Colts player who snapped the ball, also said postgame that the snap was “miscommunicated.”Colts punter Pat McAfee, who should’ve handled and punted the ball on the botched play called it “one of the most failed fakes probably of all time.”.

[함수] 현페이지의 POST/GET/COOKIE/SESSION 변수값 모두 확인

사용방법

// 출력물

—————————————————————–
COOKIE
—————————————————————–
1. Mds = D
2. RecentItemLog = 1193643280363
3. CMB_ID = blog
4. CMB_PW = 123456
5. CMB_CHECK = checked
6. PERSONAL_UID = 984ac039ab30a86089e3189c124aa7bb
7. URI_REFERER = /club/club_main.php
8. QUERY_STRINGS =
—————————————————————–

—————————————————————–
SESSION
—————————————————————–
1. refer_url3 = /club/club_main.php
2. refer_url2 = /company/index.php
3. refer_url1 = /club/clubBoard.php?table=aftercmt
4. refer_url0 = /club/club_main.php
5. MykimsLogIp = 211.175.161.89
—————————————————————–

 

위와 같이 현재 페이지의 세션, 포스트, 겟, 쿠키 값을 모두 출력해주어 버그잡을때 사용해도 요긴합니다.

 

상기의 출력물은 GET,POST 변수가 없어서 출력이 되지 않은 것입니다. 참고하세요!!

 

 

Students working together in library. Related Articles How to Write Develop a Proposal How to Write an Essay on College Career Objectives How to Write an Essay on Leadership How to Write a Letter for a Donation to Help a Family How to Write a Platform Essay Pens That Write on Metal. He jumped my wall. And cheap nfl jerseys he climbed it and stood on top . The team has now dismissed three head coaches in a little more than four years.If the Bucs decide to promote from within offensive coordinator Dirk Koetter is the most logical candidate the switch would have parallels to 2009, when the team NFL Jerseys Cheap fired coach Jon Gruden and promoted Cheap Jerseys 32 year old defensive coordinator Raheem Morris to take his place.USA TODAYNFL coaching carousel: Breaking down every hireMorris was 17 31 in three seasons before he was replaced by Greg Schiano, who lasted two seasons and went 11 21. Smith, who took the Chicago Bears to Super Bowl XXXVI during his Wholesale NFL Jerseys nine seasons there, was 8 24 in Tampa.One prominent Bucs player did not take the news of Smith’s dismissal well.”WTF cheap authentic jordans YO!!!!”linebacker Lavonte David posted from his verified Twitter account. Lightweight divisions. He also holds the record for most title defenses to end in knockout with 17 in a row. Entering the year St. Louis expected to have Jhonny Peralta manning short. And you pay for entertainment. Ditto for travel. Hilton in different areas of the field. He did torch the them in the 2014 AFC Wild Card game for 200+ yards and two scores. Nearly everyone reading this is likely familiar with former New England Patriots tight end Aaron Hernandez. Hernandez was an athletic freak, an enormously gifted tight end with endless potential. ‘I have said all along, I am relaxed about it (his future at United). It depends if I am playing and if I am playing well enough, if I feel I can contribute, if the manager feels I can contribute. The initial word from Wall Street was positive. Mizuho Securities analyst Neil Doshi raised his price target on Activision and reiterated his Buy rating. 6. NBA Jam A remake of the Sega Genesis and Super Nintendo version with improved graphics and sound. Associate scouts, sometimes called dogs by their more experienced colleagues, are unpaid scouts. They usually attached to a single MLB team and typically are people trying to get their feet in the door to becoming MLB scouts. Multiple practice sessions per day may not occur on consecutive days, and student athletes must be allowed at least three hours of recovery between sessions. On single session days, no more than three hours on field is allowed, and on multiple session days, no more than five hours on field is allowed..

[함수] 글자수 원하는만큼 줄이기



//변수내용
$LONG_STR : 글자수를 줄이기 위한 원본
$CUTTING_LEN : 몇 자 이상이 될때 자를 것인지 (예: 50 -> 50자 이상시 출력안함)
$CUTTING_STR : 자르고 난뒤 넣을 문자 (예: … -> 50자 이상 넘을시 50자 이상부터 …을 표기한다.

The most important part of their 56 years of marriage was providing opportunities to their children. They were incredible parents and Grandparents and my family and I will miss them both. The head coach of a team may call a timeout during cheap jordan a game if his team is in control of the ball fake oakleys and he gives a visual or oral wholesale football jerseys china signal to the referee. A player may call a timeout during a game only if he has control of the ball and signals the referee.. Syrian civil defense workers, right, help an injured woman after warplanes attacked a street, in Aleppo, Syria, in an image released June 8, 2016, by the Civil Defense Directorate in Liberated Province of Aleppo. It did not mention chlorine, but the Observatory said two people were killed in the strike and others suffered breathing difficulties.. cheap nfl jerseys More importantly, this prevents warping and other defects caused by temperature or moisture. Other elements of their construction include stainless steel tips, capped and threaded fiber ferrules, and a unique and dramatic 15 inch shaft taper.. Though keep in mind that, keen on grandchildren, he insists on paying for the semen storage. He calls it “my frozen futures.”. Prior to shooting, the actors had all been removed from the set except for alien pregnant John Hurt, who was hooked up to an elaborate device that involved a spring loaded cavity filled with rancid pigs’ organs, multiple hoses to pump stage blood and the puppet for the alien itself, all crammed into a false chest cheap jerseys that was bolted to the table. Hurt was placed underneath, creating the illusion that his neck really was attached to the body cavity.. So what does this all mean for building and balancing a roster? For starters, look at Tom Brady’s latest contract move. Wes Welker). On an inhale bring the arms down to your side and overhead, sweep motion, lifting through the heart and then exhale and bring the hands back down to the base of the spine, take the thumbs and place them on the sacrum cheap jerseys so right in the center of the low back. Then the fingers come forward around the waist. DirecTV and Dish Network are the two leading providers in the country for satellite television. Satellite programming can be picked up in nearly any location, making it a good choice if you live in a rural or remote part of the country. Singletary’s business partner back in Texas knew Perot, arranged a meeting, and the football star flew home to Houston. The tycoon had a sculpture of an eagle in his office, and talked oakley outlet about how eagles are always alone.