Commit Graph

16 Commits (9a7130d6daf8f41962de03995592924e40cff0b3)

Author SHA1 Message Date
Christian Schmidt 0518613dd7
LinkDetailsExtractor adjustments (#31357) 1 month ago
David Roetzel ab763c493f
Ignore `undefined` as canonical url (#31882) 4 months ago
Claire 8a5b57f668
Revert "Support JSON-LD named graph (#31288)" (#31355) 5 months ago
Christian Schmidt e9e63ed203
Support JSON-LD named graph (#31288) 5 months ago
Adam Niedzielski fbf95216c5
Fix LinkCrawlWorker NoMethodError: undefined method `[]' for nil (#31144) 5 months ago
David Roetzel fa8e972722
Fix author names as arrays in linked data. (#30957) 6 months ago
Matt Jankowski 1a30a517d6
Combine repeated subjects in link details extractor spec (#28941) 11 months ago
Claire 299aa71c8f
Fix handling of `inLanguage` attribute in preview card processing (#27423) 1 year ago
Christian Schmidt 8da99ffb0d
Add alt text for preview card thumbnails (#26184) 1 year ago
Matt Jankowski 710745e16b
Fix RSpec/ContextWording cop (#24739) 2 years ago
Nick Schonning 84cc805cae
Enable Style/FrozenStringLiteralComment for specs (#23790) 2 years ago
Nick Schonning 4552685f6b
Autofix Rubocop RSpec/LeadingSubject (#23670) 2 years ago
Nick Schonning 669f6d2c0a
Run rubocop formatting except line length (#23632) 2 years ago
Eugen Rochko b58db8f12e
Add workaround for YouTube Shorts links (#17869)
* Add workaround for YouTube Shorts links

* Update link_details_extractor_spec.rb
3 years ago
Eugen Rochko f1f6ddd536
Fix structured data parsing from links choking on bad data (#17403)
* Fix structured data parsing from links choking on bad data

- Fix og:url meta tag being prioritized over canonical link tag
- Fix structured data parsing choking on commented-out CDATA declarations
- Fix HTML entities in title, description, provider_name, author_name
- Change structured data parsing to attempt every JSON-LD script tag

* Remove unnecessary slash escapes from CDATA regex pattern
3 years ago
Eugen Rochko 39cdf61ab7
Add support for structured data and more OpenGraph tags to link cards (#16938)
Save preview cards under their canonical URL

Increase max redirects to follow from 2 to 3
3 years ago