feat: Not able to pull publication title from Hashnode #22

Merged
create-issue-branch[bot] merged 4 commits from issue-21-Not_able_to_pull_publication_tit into main 2024-03-15 21:25:49 +00:00
create-issue-branch[bot] commented 2024-03-15 19:04:31 +00:00 (Migrated from github.com)
Original issue description

Describe the bug

Not able to use astro-hashnode from the steps mentioned in the README.md

To Reproduce

Steps to reproduce the behavior:

  • npm create astro@latest
  • follow along the CLI prompts with TS enabled
  • npm run astro add @matthiesenxyz/astro-hashnode in the project
  • use the example URL it provided in README.md
  • wait for Astro-Hashnode Integration Setup Complete to appear
  • open the project on 4321 but it says not found title of the publication data

Expected behavior

It pulls the data correctly or shows a warning/steps of what to be done.

Screenshots
image
Screenshot 2024-03-15 at 3 42 46 PM

closes #21

<details> <summary><b>Original issue description</b></summary> **Describe the bug** Not able to use `astro-hashnode` from the steps mentioned in the README.md **To Reproduce** Steps to reproduce the behavior: - npm create astro@latest - follow along the CLI prompts with TS enabled - npm run astro add @matthiesenxyz/astro-hashnode in the project - use the example URL it provided in README.md - wait for Astro-Hashnode Integration Setup Complete to appear - open the project on 4321 but it says not found title of the publication data **Expected behavior** It pulls the data correctly or shows a warning/steps of what to be done. **Screenshots** ![image](https://github.com/MatthiesenXYZ/astro-hashnode/assets/46300090/d7e25e19-f1a3-4241-86ea-67703b9caa75) <img width="1512" alt="Screenshot 2024-03-15 at 3 42 46 PM" src="https://github.com/MatthiesenXYZ/astro-hashnode/assets/46300090/2a69c748-4f61-47ee-9885-f704ed8ac023"> </details> closes #21
vercel[bot] commented 2024-03-15 19:04:32 +00:00 (Migrated from github.com)

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
astro-hashnode-playground Ready (Inspect) Visit Preview 💬 Add feedback Mar 15, 2024 8:20pm
[vc]: #yFwb1hkhUdluRaUEAZeNMp/FyAzdV9Y9K8nHJr3ovw0=:eyJpc01vbm9yZXBvIjp0cnVlLCJ0eXBlIjoiZ2l0aHViIiwicHJvamVjdHMiOlt7Im5hbWUiOiJhc3Ryby1oYXNobm9kZS1wbGF5Z3JvdW5kIiwiaW5zcGVjdG9yVXJsIjoiaHR0cHM6Ly92ZXJjZWwuY29tL2FzdHJvLWdob3N0Y21zL2FzdHJvLWhhc2hub2RlLXBsYXlncm91bmQvOVE0RmRFdW5jVHZweXJ4b1czV05lVmoycmhpNyIsInByZXZpZXdVcmwiOiJhc3Ryby1oYXNobm9kZS1wbGF5Z3JvdW5kLWdpdC1pc3N1ZS0yMS1uby1jMTYzZGYtYXN0cm8tZ2hvc3RjbXMudmVyY2VsLmFwcCIsIm5leHRDb21taXRTdGF0dXMiOiJERVBMT1lFRCIsImxpdmVGZWVkYmFjayI6eyJyZXNvbHZlZCI6MCwidW5yZXNvbHZlZCI6MCwidG90YWwiOjAsImxpbmsiOiJhc3Ryby1oYXNobm9kZS1wbGF5Z3JvdW5kLWdpdC1pc3N1ZS0yMS1uby1jMTYzZGYtYXN0cm8tZ2hvc3RjbXMudmVyY2VsLmFwcCJ9LCJyb290RGlyZWN0b3J5IjoicGxheWdyb3VuZCJ9XX0= **The latest updates on your projects**. Learn more about [Vercel for Git ↗︎](https://vercel.link/github-learn-more) | Name | Status | Preview | Comments | Updated (UTC) | | :--- | :----- | :------ | :------- | :------ | | **astro-hashnode-playground** | ✅ Ready ([Inspect](https://vercel.com/astro-ghostcms/astro-hashnode-playground/9Q4FdEuncTvpyrxoW3WNeVj2rhi7)) | [Visit Preview](https://vercel.live/open-feedback/astro-hashnode-playground-git-issue-21-no-c163df-astro-ghostcms.vercel.app?via=pr-comment-visit-preview-link&passThrough=1) | 💬 [**Add feedback**](https://vercel.live/open-feedback/astro-hashnode-playground-git-issue-21-no-c163df-astro-ghostcms.vercel.app?via=pr-comment-feedback-link) | Mar 15, 2024 8:20pm |
changeset-bot[bot] commented 2024-03-15 19:04:34 +00:00 (Migrated from github.com)

🦋 Changeset detected

Latest commit: bdade728c8

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@matthiesenxyz/astro-hashnode Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

### 🦋 Changeset detected Latest commit: bdade728c8616e0c81a32ce0213bdcea0280b7bc **The changes in this PR will be included in the next version bump.** <details><summary>This PR includes changesets to release 1 package</summary> | Name | Type | | ----------------------------- | ----- | | @matthiesenxyz/astro-hashnode | Patch | </details> Not sure what this means? [Click here to learn what changesets are](https://github.com/changesets/changesets/blob/main/docs/adding-a-changeset.md). [Click here if you're a maintainer who wants to add another changeset to this PR](https://github.com/MatthiesenXYZ/astro-hashnode/new/issue-21-Not_able_to_pull_publication_tit?filename=.changeset/curly-rice-beam.md&value=---%0A%22%40matthiesenxyz%2Fastro-hashnode%22%3A%20patch%0A---%0A%0Afeat%3A%20%E2%9C%A8%20%5BInternal%5D%20better%20handling%20of%20hashnodeURL%20when%20it%20includes%20%60https%3A%2F%2F%60%20or%20%60http%3A%2F%2F%60%0A)
Sign in to join this conversation.
No description provided.