Skip to content

vs-branch-4#9

Merged
VatsalSy merged 5 commits intomainfrom
vs-branch-4
Feb 22, 2025
Merged

vs-branch-4#9
VatsalSy merged 5 commits intomainfrom
vs-branch-4

Conversation

@VatsalSy
Copy link
Member

This pull request includes the following changes:

  1. Update blog links to new domain: The changes update the blog links in the research page to point to the new domain blogs.comphy-lab.org instead of the old blogs-comphy-lab.org. This ensures that the blog links are up-to-date and direct users to the correct location.

  2. Fetch blog content from Obsidian API: This change enhances the script to fetch blog content from the Obsidian API instead of parsing the README file. The new approach retrieves the site structure and then fetches the content for each published page, parsing the Markdown content to extract the title, content, and URL for each blog post and page. This provides a more robust and comprehensive way to index the blog content in the search database.

  3. Update blog content fetch process: The changes in this commit update the process for fetching and indexing external blog content. The previous implementation used the Obsidian API to fetch blog content, which was complex and prone to issues. The new approach reads the blog content from a JSON file generated by a separate Node.js script, simplifying the Ruby script and making the blog content fetching more reliable and maintainable.

  4. Improve search result display: This change improves the display of search results by truncating long content to a maximum of 200 characters, highlighting the search query terms in the title and content, removing the custom HTML handling for team member entries, and adjusting the styling of the result content and tags for a cleaner look. The goal is to provide a more concise and readable search result experience for users.

  5. Update navigation links and blog badge: This commit updates the navigation links and the blog badge in the website. The changes include removing the "target="_blank"" attribute from the blog link, adding a "Join Us" link to the navigation menu, and updating the blog badge in the README.md file to reflect the correct URL for the lab's blog. These changes improve the user experience by making the navigation more intuitive and providing a direct link to the lab's blog.

The changes update the blog links in the research page to point to the new domain `blogs.comphy-lab.org` instead of the old `blogs-comphy-lab.org`. This ensures that the blog links are up-to-date and direct users to the correct location.
This change enhances the script to fetch blog content from the Obsidian API
instead of parsing the README file. The new approach retrieves the site
structure and then fetches the content for each published page, parsing the
Markdown content to extract the title, content, and URL for each blog post
and page. This provides a more robust and comprehensive way to index the
blog content in the search database.
The changes in this commit update the process for fetching and indexing external blog content:

- The previous implementation used the Obsidian API to fetch blog content, which was complex and prone to issues. The new approach reads the blog content from a JSON file generated by a separate Node.js script.
- This simplifies the Ruby script and makes the blog content fetching more reliable and maintainable.
- The changes also remove the previous code for fetching and parsing the blog content, as it is no longer needed.
This change improves the display of search results in the following ways:

- Truncates long content to a maximum of 200 characters, with an ellipsis to indicate more content
- Highlights the search query terms in the title and content
- Removes the custom HTML handling for team member entries, as it's not needed for the current use case
- Adjusts the styling of the result content and tags for a cleaner look

The goal is to provide a more concise and readable search result experience for users.
This commit updates the navigation links and the blog badge in the website. The
changes include:

- Removing the "target="_blank"" attribute from the blog link, as it is not
  necessary for the website's functionality.
- Adding a "Join Us" link to the navigation menu, providing a clear path for
  users to learn about opportunities to join the lab.
- Updating the blog badge in the README.md file to reflect the correct URL for
  the lab's blog.

These changes improve the user experience by making the navigation more
intuitive and providing a direct link to the lab's blog.
@VatsalSy VatsalSy merged commit 51b4f8e into main Feb 22, 2025
1 of 2 checks passed
@VatsalSy VatsalSy deleted the vs-branch-4 branch March 29, 2025 19:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant