일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
티스토리 스킨 제작기-3-스킨 구조 분석(skin.html 전체 구조-전체)
티스토리 스킨은 Front-End 를 사용자가 직접 수정해서 올릴수 있도록 되어 있습니다.
구조는 <s_약속된 테그이름></s_약속된 테그이름> 을 html에 넣으면 Back-End에서 해당 테그에 만맞는 로직을 구현해서 replace로 교체된후 화면에 보여주는 구조 입니다.
이번에 스킨을 처음 작업해보면서, Back-End구현을 당연히 구현해야할 Back-End 스트레스가 없으니 좋기는 하더군요. 모든 개발이 그랬으면 좋겠네요.....^^
전체 구조는 아래와 같이 되어 있습니다.
1. 티스토리 전체 구조(간략 버전)
<html>
<head></head>
<body>
<div class="post-container">
<div class="post-head">
<s_list> <!-- (01)-[Page: LIST Header ] -->
</s_list>
</div>
<div class="post-body">
<s_notice_rep> <!-- (01)-[공지사항: LIST-Loop] -->
</s_notice_rep>
<s_page_rep> <!-- (01)-[페이지: LIST-Loop] -->
</s_page_rep>
<s_article_protected> <!-- (04)-[보호글: ] -->
</s_article_protected>
<s_article_rep> <!-- (05)-[컨텐츠: 메인-List ] -->
<s_index_article_rep> <!-- (05)-[컨텐츠: LIST-Loop ] -->
</s_index_article_rep>
<s_permalink_article_rep> <!-- (05)-[컨텐츠: VIEW ] -->
<div class="post-entry-content">
728x90

티스토리 스킨 제작기-3-스킨 구조 분석(skin.html 전체 구조-전체)
티스토리 스킨은 Front-End 를 사용자가 직접 수정해서 올릴수 있도록 되어 있습니다.
구조는 <s_약속된 테그이름></s_약속된 테그이름> 을 html에 넣으면 Back-End에서 해당 테그에 만맞는 로직을 구현해서 replace로 교체된후 화면에 보여주는 구조 입니다.
이번에 스킨을 처음 작업해보면서, Back-End구현을 당연히 구현해야할 Back-End 스트레스가 없으니 좋기는 하더군요. 모든 개발이 그랬으면 좋겠네요.....^^
전체 구조는 아래와 같이 되어 있습니다.
1. 티스토리 전체 구조(간략 버전)
<html>
<head></head>
<body>
<div class="post-container">
<div class="post-head">
<s_list> <!-- (01)-[Page: LIST Header ] -->
</s_list>
</div>
<div class="post-body">
<s_notice_rep> <!-- (01)-[공지사항: LIST-Loop] -->
</s_notice_rep>
<s_page_rep> <!-- (01)-[페이지: LIST-Loop] -->
</s_page_rep>
<s_article_protected> <!-- (04)-[보호글: ] -->
</s_article_protected>
<s_article_rep> <!-- (05)-[컨텐츠: 메인-List ] -->
<s_index_article_rep> <!-- (05)-[컨텐츠: LIST-Loop ] -->
</s_index_article_rep>
<s_permalink_article_rep> <!-- (05)-[컨텐츠: VIEW ] -->
<div class="post-entry-content">
<!-- (05)-[컨텐츠: VIEW-내용 ] -->
</div>
<s_tag_label> <!-- (05)-[컨텐츠: VIEW-테그 ] -->
</s_tag_label>
<s_article_related> <!-- (05)-[컨텐츠: VIEW-관련 ] -->
</s_article_related>
<div class="post-entry-comments">
<s_rp_count>
()
</s_rp_count>
<s_rp> <!-- (05)-[컨텐츠: VIEW-댓글 ] -->
<s_rp_container> <!-- (05)-[컨텐츠: VIEW-댓글 ] -->
</s_rp_container>
<s_rp_input_form> <!-- (05)-[컨텐츠: VIEW-댓글 INPUT-Form ] -->
</s_rp_input_form>
</s_rp>
</div>
</s_permalink_article_rep>
</s_article_rep>
</div>
<s_tag> <!-- (06)-[테그: ] -->
<s_tag_rep>
</s_tag_rep>
</s_tag>
<s_guest> <!-- (07)-[Guest Book: ] -->
<s_guest_input_form> <!-- (07)-[Guest Book: INPUT-Form ] -->
</s_guest_input_form>
<s_guest_container> <!-- (07)-[Guest Book: LIST ] -->
<s_guest_rep> <!-- (07)-[Guest Book: LIST-Loop ] -->
</s_guest_rep>
</s_guest_container>
</s_guest>
<s_paging> <!-- (08)-[게시글 페이지징: LIST ] -->
<s_paging_rep> <!-- (08)-[게시글 페이지징: LIST-Loop ] -->
</s_paging_rep>
</s_paging>
</div>
</body>
</html>
2. 티스토리 스킨 가이드
자세한 사항은 아래 스킨 가이드를 참고하세요.
반응형
<!-- (05)-[컨텐츠: VIEW-내용 ] -->
</div>
<s_tag_label> <!-- (05)-[컨텐츠: VIEW-테그 ] -->
</s_tag_label>
<s_article_related> <!-- (05)-[컨텐츠: VIEW-관련 ] -->
</s_article_related>
<div class="post-entry-comments">
<s_rp_count>
(0)
</s_rp_count>
<s_rp> <!-- (05)-[컨텐츠: VIEW-댓글 ] -->
<s_rp_container> <!-- (05)-[컨텐츠: VIEW-댓글 ] -->
</s_rp_container>
<s_rp_input_form> <!-- (05)-[컨텐츠: VIEW-댓글 INPUT-Form ] -->
</s_rp_input_form>
</s_rp>
</div>
</s_permalink_article_rep>
</s_article_rep>
</div>
<s_tag> <!-- (06)-[테그: ] -->
<s_tag_rep>
</s_tag_rep>
</s_tag>
<s_guest> <!-- (07)-[Guest Book: ] -->
<s_guest_input_form> <!-- (07)-[Guest Book: INPUT-Form ] -->
</s_guest_input_form>
<s_guest_container> <!-- (07)-[Guest Book: LIST ] -->
<s_guest_rep> <!-- (07)-[Guest Book: LIST-Loop ] -->
</s_guest_rep>
</s_guest_container>
</s_guest>
<s_paging> <!-- (08)-[게시글 페이지징: LIST ] -->
<s_paging_rep> <!-- (08)-[게시글 페이지징: LIST-Loop ] -->
</s_paging_rep>
</s_paging>
</div>
</body>
</html>
2. 티스토리 스킨 가이드
자세한 사항은 아래 스킨 가이드를 참고하세요.
티스토리 스킨 제작기-5-스킨 구조 분석(skin.html 항목별 구성 방법) (0) | 2022.02.14 |
---|---|
티스토리 스킨 제작기-4-스킨 구조 분석(index.xml 구조) (0) | 2022.02.13 |
티스토리 스킨 제작기-3-스킨 구조 분석(skin.html 전체 구조-상세) (0) | 2022.02.12 |
티스토리 스킨 제작기-2-스킨 구조 분석(사이드바) (0) | 2022.02.10 |
티스토리 스킨 제작기-1-블로그 종류별 특징 (0) | 2022.02.09 |
내 블로그 - 관리자 홈 전환 |
Q
Q
|
---|---|
새 글 쓰기 |
W
W
|
글 수정 (권한 있는 경우) |
E
E
|
---|---|
댓글 영역으로 이동 |
C
C
|
이 페이지의 URL 복사 |
S
S
|
---|---|
맨 위로 이동 |
T
T
|
티스토리 홈 이동 |
H
H
|
단축키 안내 |
Shift + /
⇧ + /
|
* 단축키는 한글/영문 대소문자로 이용 가능하며, 티스토리 기본 도메인에서만 동작합니다.