Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/blacknahil/link_extractor
A Google Apps Script(JS) designed to extract and log all hyperlinks embedded in a Google Docs. It identifies each link along with the text it's associated with, making it easy to review and manage the links in long documents. With just a few steps, you can retrieve all the embedded URLs and their corresponding text, simplifying checking of links.
https://github.com/blacknahil/link_extractor
app-script google-docs javascript link-checker
Last synced: 10 days ago
JSON representation
A Google Apps Script(JS) designed to extract and log all hyperlinks embedded in a Google Docs. It identifies each link along with the text it's associated with, making it easy to review and manage the links in long documents. With just a few steps, you can retrieve all the embedded URLs and their corresponding text, simplifying checking of links.
- Host: GitHub
- URL: https://github.com/blacknahil/link_extractor
- Owner: Blacknahil
- Created: 2024-10-15T20:36:32.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-10-15T20:47:38.000Z (4 months ago)
- Last Synced: 2024-12-02T06:31:57.546Z (2 months ago)
- Topics: app-script, google-docs, javascript, link-checker
- Language: JavaScript
- Homepage:
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Google Docs Embedded Links Extractor
This Google Apps Script project automates the extraction of all hyperlinks embedded within a Google Docs document. It scans through the document, identifies all the links, and retrieves both the URLs and the associated text (word or phrase) to which the links are embedded.
## Features
- Extracts and logs all the embedded links from a Google Docs file.
- Captures the text associated with each hyperlink.
- Displays the results in the Execution Log for easy access and review.## How to Use
1. Open your Google Docs file.
2. Navigate to `Extensions > Apps Script`.
3. In the Apps Script editor, delete any existing code and copy-paste the provided script (see below).
4. Save the script and name it (e.g., `LinkExtractor`).
5. Run the script by clicking the play icon next to the `extractLinks` function.
6. View the extracted links by going to `View > Logs`.## Requirements
- A Google Docs file with embedded hyperlinks.
- Access to Google Apps Script (available through `Extensions > Apps Script` in Google Docs).## Output
The extracted links will be displayed in the Apps Script Execution Log, which shows:
- The full text or phrase associated with the link.
- The URL of the hyperlink.## License
This project is open-source and can be modified or distributed.