cmb69 / feedview_xh Goto Github PK
View Code? Open in Web Editor NEWFeed viewer for CMSimple_XH
License: GNU General Public License v3.0
Feed viewer for CMSimple_XH
License: GNU General Public License v3.0
In hindsight, it was a bad idea to pass a SimplePie
instance to the template. While this offers a great amount of flexibility, it is hard to understand (users need to read the SimplePie API documentation), and error prone, since a rather large amount of methods is not supposed to be called from the template.
Furthermore, it does not shield Webmaster from possible API changes after SimplePie updates, and does not allow to swap SimplePie for another feed reader/parser (after all, SimplePie should be regarded as implementation details).
Therefore, it seems to be a good idea to only pass variables of built-in types to the view template.
(also need to check for SimplePie requirements; and document them)
Bei mir tritt ein unerklärlicher Fehler auf beim Entpacken der Datei „Feedview_XH-1.1.zip“.
Im Ordner \feedview\views\
sehen die jeweils ersten Zeilen der beiden Dateien „feedview.php“ und „info.php“ so aus:
<?php php
use Feedview\Infra\View;
…
Mir ist nicht klar, woher das zweite „php“ in der ersten Zeile kommt.
Alle anderen PHP-Dateien sind nach dem Entpacken in Ordnung, nur die beiden oben genannten nicht.
While that is okay during development, we better avoid it for production builds, since that setting is often disabled.
Well, let's go with PHP ≥ 7.2.0 so we can ship with the latest SimplePie (1.8.0).
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.