berkmancenter / amber_common Goto Github PK
View Code? Open in Web Editor NEWCommon code and documentation for the Amber project
Home Page: http://amberlink.org
License: GNU General Public License v3.0
Common code and documentation for the Amber project
Home Page: http://amberlink.org
License: GNU General Public License v3.0
Wow, what a great initiative!
One thing that would make Amber super powerful would be integration with something like IPFS, the link will explain it better than I can, but you can think of it as a distributed file system of sorts.
What this means for Amber is that if multiple Amber enabled sites have the same broken link, they can help each other out keeping that link alive, as well as transparently copy the backed up content between sites should another website want to link to the same no-longer-available content.
Keeping linked content available is a core idea behind the IPFS project, so check it out
FastCGI: server "/var/run/php-fpm/php56/php-cgi" stderr: PHP message: PHP Warning: include_once(): Failed opening '/sites/warekennis.nl/www/wp-content/plugins/amberlink/libraries/AmberDB.php' for inclusion (include_path='.:/usr/local/php56/share/pear') in /sites/warekennis.nl/www/wp-content/plugins/amberlink/amber.php on line 106
E.g., going to http://[domain]/blog/wp/amber/cache/388190c42f0cc901cff98997c135f05c/ shows a 404.
Hello! I'm wondering if building a plugin for Jekyll (or other static site generators) is part of the roadmap for Amber. I'm entirely sympathetic to the fact that you have limited resources and it makes sense to target the biggest CMS platforms. But I'd love to see a tool that helps a static site generator preserve external links.
I imagine that the plugin could check every external link at build time, see if it already has a cached copy, and if not, cache one. Automatic failover to the cached page using client-side javascript would be a nice-to-have. But even if, after a link died, the owner of the static page had to manually edit the link to point to the cached copy (which they have because it was cached long ago when the link was first added to the site), the plugin would be very useful. It would automatically ensure that the required cache is available.
One of my reasons for choosing a static site generator over a CMS is for the long-term preservation of my website. I know my static site will exist in its current form as long as I keep it online, without worrying about security vulnerabilities, updates, patches, etc. It would be wonderful to truly preserve the site, with all its external links intact.
I use advanced custom fields plugin* to create custom fields on my custom post type.
Almost all outside links i have are placed in these custom fields and retrieved in the loop. (This makes it easier for my clients to add links...)
The problem is that amber doesn't look in the custom fields.
FYI: The links are raw urls in one field as a string and a description in another field also as a string.
When I attempted to activate the Amber plugin following successful installation in WordPress, I received the following error message:
Plugin could not be activated because it triggered a fatal error.
Fatal error: Declaration of AmberPDO::select() must be compatible with that of iAmberDB::select() in /hermes/bosoraweb093/b1119/nf.studentunion/public_html/studentunion.ca/wp-content/plugins/amber/libraries/AmberDB.php on line 17
I immediately uninstalled the plugin and attempted to reinstall it. However, I received the same error message when I subsequently attempted to activate the plugin.
Any assistance would be greatly appreciated.
Cheers,
Brandon
Plugin could not be activated because it triggered a fatal error.
Parse error: syntax error, unexpected T_STRING in /home3/kbsr/public_html/robotistry.org/blog/wp-content/plugins/amberlink/libraries/backends/aws/AmazonS3Storage.php on line 15
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.