GithubHelp home page GithubHelp logo

feedview_xh's People

Contributors

cmb69 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

feedview_xh's Issues

Don't pass SimplePie instance to view templates

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.

Add system check

(also need to check for SimplePie requirements; and document them)

Error while unpacking some files

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.

Require PHP ≥ 7.2.0

Well, let's go with PHP ≥ 7.2.0 so we can ship with the latest SimplePie (1.8.0).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.