Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
storyshare_www_encrypt
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Analytics
Repository Analytics
Value Stream Analytics
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
goodmorning
storyshare
storyshare_www_encrypt
Commits
c65592a8
Commit
c65592a8
authored
Oct 19, 2026
by
platyhouse
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
1e7d93b3
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
7 deletions
+15
-7
application/controllers/board/item.php
application/controllers/board/item.php
+0
-0
application/views/defaultTheme/board/snsShareView.html
application/views/defaultTheme/board/snsShareView.html
+15
-7
No files found.
application/controllers/board/item.php
View file @
c65592a8
No preview for this file type
application/views/defaultTheme/board/snsShareView.html
View file @
c65592a8
...
@@ -3,13 +3,21 @@
...
@@ -3,13 +3,21 @@
<head>
<head>
<script
src=
"http://code.jquery.com/jquery-1.11.1.min.js"
></script>
<script
src=
"http://code.jquery.com/jquery-1.11.1.min.js"
></script>
<meta
name=
"title"
content=
"<?= $this->config->system->appName ?>"
/>
<?
<meta
name=
"og:title"
content=
"<?= $this->config->system->appName ?>"
/>
// refs #10091 날마다좋은글 — 네이버 밴드 공유 시 미리보기 설명·이미지 누락 (크롤러 UA 화이트리스트)
<meta
name=
"og:image"
content=
"<?= $item->previewImageUrl ?>"
>
// - 값 계산은 board/item.php detail() 담당
<meta
property=
"og:image:width"
content=
"600"
/>
// - og:title : name → property 속성으로 변경 (OG 표준)
<meta
property=
"og:image:height"
content=
"627"
/>
// - og:description 추가
<meta
name=
"description"
content=
"<?= $item->title ?>"
/>
// - 따옴표 등으로 속성이 깨지지 않도록 이스케이프
<meta
property=
"og:image"
content=
"<?= $item->previewImageUrl ?>"
/>
?>
<meta
name=
"title"
content=
"<?= htmlspecialchars($metaTitle, ENT_QUOTES, "
UTF-8
")
?
>
"/>
<meta
property=
"og:title"
content=
"<?= htmlspecialchars($metaTitle, ENT_QUOTES, "
UTF-8
")
?
>
"/>
<meta
name=
"og:image"
content=
"<?= htmlspecialchars($imageUrl, ENT_QUOTES, "
UTF-8
")
?
>
">
<meta
property=
"og:image:width"
content=
"<?= (int)$imageWidth ?>"
/>
<meta
property=
"og:image:height"
content=
"<?= (int)$imageHeight ?>"
/>
<meta
name=
"description"
content=
"<?= htmlspecialchars($metaDescription, ENT_QUOTES, "
UTF-8
")
?
>
"/>
<meta
property=
"og:description"
content=
"<?= htmlspecialchars($metaDescription, ENT_QUOTES, "
UTF-8
")
?
>
"/>
<meta
property=
"og:image"
content=
"<?= htmlspecialchars($imageUrl, ENT_QUOTES, "
UTF-8
")
?
>
"/>
<style
type=
"text/css"
>
<style
type=
"text/css"
>
p
,
li
,
ul
,
img
,
a
,
div
,
input
,
select
,
div
,
dl
,
dd
,
dt
,
h1
,
a
,
h1
,
h2
,
h3
,
h4
,
h5
,
h6
{
p
,
li
,
ul
,
img
,
a
,
div
,
input
,
select
,
div
,
dl
,
dd
,
dt
,
h1
,
a
,
h1
,
h2
,
h3
,
h4
,
h5
,
h6
{
margin
:
0
;
margin
:
0
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment