This website requires JavaScript.
Explore
Help
Register
Sign In
songtianlun
/
today_ai_weather
Watch
1
Star
0
Fork
0
You've already forked today_ai_weather
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
main
today_ai_weather
/
app
/
helpers
/
sitemaps_helper.rb
6 lines
88 B
Ruby
Raw
Permalink
Normal View
History
Unescape
Escape
feat: add sitemap functionality - Create SitemapsController to serve sitemaps - Configure AWS S3 storage for sitemaps - Update routes to include sitemap paths - Add SitemapsHelper module - Configure SitemapGenerator with AWS adapter - Update storage configurations for AWS This feature adds sitemap functionality to the application, enabling search engines to discover and index its content more efficiently. It includes configuration for AWS S3 storage to host the sitemaps and updates the application's routes to serve them.
2025-01-26 00:07:44 +08:00
module
SitemapsHelper
feat: add sitemap management feature - Implement index action to list sitemaps - Create view for displaying sitemaps with details - Add helper method for generating sitemap URLs - Enhance error handling for S3 service errors This commit introduces a new feature for managing sitemaps in the application. It includes an index view that lists all available sitemaps with their last modified date and size, along with a link to view each sitemap. The error handling for S3 interactions has also been improved to log errors and return appropriate responses.
2025-02-24 17:28:21 +08:00
def
sitemap_url
(
filename
)
"
/sitemaps/
#{
filename
}
"
end
feat: add sitemap functionality - Create SitemapsController to serve sitemaps - Configure AWS S3 storage for sitemaps - Update routes to include sitemap paths - Add SitemapsHelper module - Configure SitemapGenerator with AWS adapter - Update storage configurations for AWS This feature adds sitemap functionality to the application, enabling search engines to discover and index its content more efficiently. It includes configuration for AWS S3 storage to host the sitemaps and updates the application's routes to serve them.
2025-01-26 00:07:44 +08:00
end
Reference in New Issue
Copy Permalink