2025-01-24T01:44:03
This commit is contained in:
49
doc/etc/Trackback.md
Normal file
49
doc/etc/Trackback.md
Normal file
@@ -0,0 +1,49 @@
|
||||
# Trackback
|
||||
|
||||
## 주소 찾기
|
||||
|
||||
```html
|
||||
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
|
||||
<rdf:Description
|
||||
rdf:about="http://www.foo.com/archive.html#foo"
|
||||
dc:identifier="http://www.foo.com/archive.html#foo"
|
||||
dc:title="Foo Bar"
|
||||
trackback:ping="http://www.foo.com/tb.cgi/5" />
|
||||
</rdf:RDF>
|
||||
```
|
||||
|
||||
## 전송
|
||||
|
||||
```
|
||||
POST /trackback HTTP/1.1
|
||||
Host: example.com
|
||||
Content-Type: application/x-www-form-urlencoded; charset-utf-8
|
||||
|
||||
title=Foo+Bar&url=http://www.bar.com/&excerpt=My+Excerpt&blog_name=Foo
|
||||
```
|
||||
|
||||
- title
|
||||
- excerpt
|
||||
- url
|
||||
- blog_name
|
||||
|
||||
## 응답
|
||||
|
||||
```xml
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<response>
|
||||
<error>0</error>
|
||||
</response>
|
||||
```
|
||||
|
||||
### 오류 응답
|
||||
|
||||
```xml
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<response>
|
||||
<error>1</error>
|
||||
<message>The error message</message>
|
||||
</response>
|
||||
```
|
||||
Reference in New Issue
Block a user