2025년 4월 29일 화요일

구글 블로거에 파일 첨부하는 방법 (How to attach files to google blogger)

 구글 블로거(Blogger)에서는 **파일 자체를 직접 첨부(예: PDF, ZIP, DOC 등 업로드)**하는 기능은 기본적으로 제공되지 않습니다. 하지만 아래와 같은 우회 방법을 사용할 수 있습니다:


✅ 1. Google 드라이브를 활용한 파일 첨부

  1. Google 드라이브 접속

  2. 원하는 파일 업로드

  3. 업로드한 파일에서 공유 링크 만들기:

    • 우클릭 → "링크 공유" → “링크가 있는 모든 사용자에게 보기 허용” 설정

  4. 해당 링크를 블로거 글에 텍스트나 버튼 등에 하이퍼링크로 삽입


✅ 2. 이미지나 동영상 삽입은 가능

  • 이미지는 글쓰기 에디터에서 이미지 아이콘 클릭 → 직접 업로드

  • 유튜브 동영상도 삽입 가능 (링크 붙여넣기 또는 동영상 아이콘 이용)


예시 문장 삽입 방법:

<a href="https://drive.google.com/your-file-link" target="_blank">여기에서 파일을 다운로드하세요</a>

PPT 파일의 경우, 그냥 링크를 텍스트에 넣으면 구글 슬라이드로 열려서 불편할 수 있다.
이 때 바로 다운로드 하도록 하려면, 다음의 절차를 수행한다.

1) 다운로드 링크에서 id 부분을 따로 복사.
예시.
https://drive.google.com/file/d/1AbCdEfGhIjKlMnOpQrStUvWxYz/view?usp=sharing
→ ID는: 1AbCdEfGhIjKlMnOpQrStUvWxYz

2) ID를 사용하여 다음의 HTML 태그를 작성.
예시.
<a href="https://drive.google.com/uc?export=download&id=1AbCdEfGhIjKlMnOpQrStUvWxYz" target="_blank">
  👉 파워포인트 파일 다운로드
</a>

3) HTML 태그 따로 복사한 후, 입력할 위치를 알기 쉽도록 자신만의 쓸데없는 문자를 입력한다.

4) 좌측 상단, 연필 표시 아이콘의 세모 아이콘을 누르고, HTML 보기로 변경한다.



5) 아까 입력한 쓸데없는 문자를 지우고, 그 자리에 HTML 태그를 복사한다.


✅ 1. Attaching Files in Google Blogger (Workaround)

Google Blogger does not support direct file uploads (like PDF, DOC, ZIP) into blog posts. However, you can work around this using Google Drive:

How to Attach a File via Google Drive:

  1. Go to Google Drive

  2. Upload your file (PDF, DOC, etc.)

  3. Right-click the file and select "Get link"

  4. Change sharing settings to “Anyone with the link” can view

  5. Copy the link and insert it into your blog post as a hyperlink

Example:

<a href="https://drive.google.com/your-file-link" target="_blank">여기에서 파일을 다운로드하세요</a>

For PowerPoint files, simply inserting a link as text may cause it to open in Google Slides, which can be inconvenient.
To make the file download directly, follow these steps:


1) Copy the file ID from the download link.
Example:

https://drive.google.com/file/d/1AbCdEfGhIjKlMnOpQrStUvWxYz/view?usp=sharing  

→ The file ID is: 1AbCdEfGhIjKlMnOpQrStUvWxYz


2) Use the ID to create the following HTML tag:
Example:
<a href="https://drive.google.com/uc?export=download&id=1AbCdEfGhIjKlMnOpQrStUvWxYz" target="_blank">
  👉 Download PowerPoint File
</a>

3) Copy this HTML tag and type some temporary placeholder text where you want the link to appear (e.g., XXXXXX).


4) In Blogger, click the small triangle next to the pencil icon in the top-left corner and select "HTML view".


5) Find the placeholder text you entered earlier, delete it, and paste the HTML tag in its place.

댓글 없음:

댓글 쓰기