Comments (8)
Thanks for the report. I believe your diagnosis is correct, and we're working on getting the fix out.
from amber_wordpress.
We just pushed 1.4.1 on WordPress. Once you update, it should be working for you.
from amber_wordpress.
Those files are successfully loading after updating the plugin, but nothing happens when I hover over a link that has been archived. The Amber Dashboard shows that links were successfully snapshotted. I set Available Links and Unavailable Links both to the "hover" setting, but nothing happens when I hover over a an archived link. Wordpress site at http://favorites.aribadernatal.com.
from amber_wordpress.
How many seconds have you set the "Hover delay" to notify the end user? For immediate display of preserved links, you might want to indicate 0 there.
If this isn't the problem, let me know and we'll keep digging.
from amber_wordpress.
It had been at 2 seconds. I changed both to 0 seconds, but still nothing pops up.
from amber_wordpress.
Hmm. @jlicht would you be able to look into this?
from amber_wordpress.
It suspect that the regexp in the filter that examines a post before it's displayed to extract URLs is getting confused by the target="_blank"
that's part of the links on those pages. It gets the URLs wrong, and therefore can't find a match.
I think we'll fix this by changing the regular expression in the filter()
function to use a non-greedy match.
Old:
$re = '/href=["\'](http[^\v()<>{}\[\]]+)[\'"]/i';
New:
$re = '/href=["\'](http[^\v()<>{}\[\]]+?)[\'"]/i';
from amber_wordpress.
That worked! (I modified amber.php locally to test, loaded a post, and verified that the Amber popover appears when hovering over an archived link.) Thank you for tracking this down!
from amber_wordpress.
Related Issues (20)
- Dashboard can display misleading messages if snapshot stored in multiple locations HOT 4
- Prevent direct access to saved snapshots HOT 1
- Validate WordPress 4.5 compatibility
- Upgrading to 1.4.3 causes error including AmberDB HOT 3
- Improve error messages when cannot save snapshots due to permissions issues
- Allow administrator to specify alternate hostnames under which the site might be accessed
- Track page/post where links originate and show in dashboard HOT 1
- getallheaders function is undefined (sites using nginx) HOT 1
- Settings page should link to Amber Dashboard
- Twitter blocks any URL with ? via. robots.txt - Filter twitter URLs to remove "ref_src" HOT 2
- Facebook blocks all bots via robots.txt - Don't try to snapshot facebook URLs HOT 2
- Dashboard should display "message" field from db rather than always "Could not capture snapshot" HOT 2
- Allow site admins to "speed up" dequeuing process to more than 1/5min
- Preview iframe system in "down" popup needs deep review HOT 2
- Link attributes injected in RSS feeds HOT 1
- Dashboard: Lack of pagination in links table causes WSOD error when DB is large
- Support nginx HOT 1
- Allow multiple snapshots for same link
- Internet Archive API seems to be broken as of Jul 10, 2020: All URLs getting marked as down HOT 8
- Is Amber dead? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from amber_wordpress.