Giter Club home page Giter Club logo

Comments (15)

fluffy-critter avatar fluffy-critter commented on June 3, 2024

It looks like you also need to set FOF_DATA_PATH to somewhere that you have write access to.

from feed-on-feeds.

fluffy-critter avatar fluffy-critter commented on June 3, 2024

As far as fixing it in FoF, personally I think we should change the default value to something that obviously needs fixing, and then have the installer check it before it tries opening the log file and make suggestions. Ideally it should also try doing a mkdir on the directory if it doesn't exist. This would be much friendlier to users.

On a similar note, I'd probably encourage configuring it for sqlite by default - it's very rare that anyone will be installing FoF in a situation where mysql will perform any better, and there's huge advantages to sqlite from an administration and data portability perspective. My goal is to make it as easy as possible for people to get into the world of RSS and distributed social.

from feed-on-feeds.

debby1 avatar debby1 commented on June 3, 2024

Hi, thank you very much for the reply. The new path I can choose in /public/ folder? Or it's more safe in other folder, not public?

And I have double "//" in error code => /var/fof-data//fof-install.log
then I have to also delete the last "/" ?

For example => define('FOF_DATA_PATH', '/path/fof-data');

I use MySQL 5.5 (I use it also for my forum), I will have problems if I choose define('USE_MYSQL', 1); ? I'm afraid to make trouble choosing SQLite :(

Thank you again, sorry for my English

from feed-on-feeds.

fluffy-critter avatar fluffy-critter commented on June 3, 2024

I would recommend pointing it to a directory that is NOT public, because
otherwise a third party might be able to read your logs, or if you go
with sqlite, get your database and use that to try to figure out your
password and so on.

I'd recommend just creating a directory within your user account that's
not under your public folder, and pointing it at that. Based on your
error message, a good place for it might be
/srv/users/mypathsite/fof-data

The double slash isn't a real problem, it just looks funky.

SQLite is completely separate from mysql, and using SQLite on one site
won't affect mysql on others. In fact using SQLite in this case will be
even better than mysql because then you won't end up with your FOF
tables being in the same database as your forum tables. SQLite doesn't
require any database administration or the like; it's just a library
that stores your database in a local file instead of needing a dedicated
external server.

On 2014-10-27 13:03, debby1 wrote:

Hi, thank you very much for the reply. The new path I can choose in /public/ folder? Or it's more safe in other folder, not public?

And I have double "//" in error code => /var/fof-data//fof-install.log

then I have to also delete the last "/" ?

For example => define('FOF_DATA_PATH', '/path/fof-data');

I use MySQL 5.5 (I use it also for my forum), I will have problems if I choose define('USE_MYSQL', 1); ? I'm afraid to make trouble choosing SQLite :(

Thank you again, sorry for my English

Reply to this email directly or view it on GitHub [1].

Links:

[1]
#22 (comment)

from feed-on-feeds.

debby1 avatar debby1 commented on June 3, 2024

Hi, thank you very much!! Now it works perfectly :D Added 200/250 Rss links (for now only from Facebook pages, also if Feed Source Site in unread posts is only "https://www.facebook.com/" and not for example "http://www.facebook.com/feeds/page.php?format=rss20&id=number-of-page" but I receive anyway feeds :D ) and works very well. Also fitler text works well.

But I don't know if my server will work if I active automatic feed updates, or it will crash for example?

Now I study how allow automatic feed updates (Crontab).

Thank you again

from feed-on-feeds.

jamesjordan avatar jamesjordan commented on June 3, 2024

I have my version updating using a cron job on my shared Dreamhost hosting. I can let you know my cron job string if you get stuck.

from feed-on-feeds.

fluffy-critter avatar fluffy-critter commented on June 3, 2024

I went ahead and updated the docs on my fork, and included a quick thing on how to set up a Dreamhost cron job.

from feed-on-feeds.

debby1 avatar debby1 commented on June 3, 2024

Hi, I have added many feeds but when I click on "Update Feeds" (for now I update manually), some feed doesn't work, I have "44y" near list :( Maybe there's a limit in my PHP?
Thanks

from feed-on-feeds.

fluffy-critter avatar fluffy-critter commented on June 3, 2024

It would be helpful if you could tell us which feeds you're having problems with.

from feed-on-feeds.

debby1 avatar debby1 commented on June 3, 2024

Hi, I have added about 200-300 feeds, then I click on update feeds and I wait (I have also filter text). In some feed I have 4d, 7d, 1w, 44y or nothing and in a feed instead I have error (Entremont): https://www.facebook.com/feeds/page.php?format=rss20&id=358955634200768

cattura

Or maybe 44y and 7d mean there aren't new posts?

And sorry, another question :( How can I have Rss link from my results of FoF?

For example I have 200 feeds, 100 with filter text "recipe". I need a Rss link of 100 feeds with filter, because I'll add it to my forum (MyBB). There is this feature or some idea on where and how can I "extract" Rss link from FoF?
Or export Rss?

Thank you very much :)

from feed-on-feeds.

fluffy-critter avatar fluffy-critter commented on June 3, 2024

I wouldn't really recommend using manual updates for more than testing purposes, especially if you're trying to handle more than 30 feeds or so. That part of FoF just doesn't scale all that well.

The feed you linked to seems to have not had any posts within the last 7 days, so an indicator of '7d' makes sense. When you added the feed, did you tell it to mark 'all' entries as unread, 'today's, or 'none?' That makes a difference. If you click on the feed itself in the feed list it should show all the entries which were imported.

Also, FeedOnFeeds is a feed reader, as opposed to a republishing aggregator; it probably isn't the best solution for combining external feeds into a single feed (the only republish feed I know of is for shared items). I've written a simple feed glommer that should do what you want, although it's intended to handle 3-4 feeds, not hundreds (it needs a bit more work to make it support more than that). You might also try Planet Planet which actually was designed for what you're trying to do, although it's a pain to set up.

If all your external feeds are coming from Facebook, there might be a way to get them to just publish a composite feed from multiple sources, although I haven't looked into their API at all.

from feed-on-feeds.

fluffy-critter avatar fluffy-critter commented on June 3, 2024

Oh, also, if you issue a manual update for the one feed that's giving an error (hovering over the δ and then selecting "update feed") it should give you a more detailed error message.

from feed-on-feeds.

debby1 avatar debby1 commented on June 3, 2024

Hi! Thank you for the reply. I'm studying how do it, I'm trying many services.

  • Yahoo Pipe: it's good but I can add only 20 links for Pipe, but it's hosted on Yahoo and it has filter in the text. Maybe I can try to add more important feeds (about 100 feeds = 5 Pipes) and use other services for other feeds.
  • I saw Planet Planet but it requires Python and I don't know if I can use it, plugin on forum uses PHP to post feeds (if I want use this plugin to post). It hasn't filter in text but can check many feed links.

I would like to know if 600 or more links are a problem for my server or if it's only a limit of a specific Rss service (feed reader or aggregator). Maybe I need only scale update time? For example the first 10 links update every 5 minutes, the second 10 links update every 10 minutes etc.

I have also tried with feed combine services, the only seems good is ChimpFeedr (unlimited feed to combine) but I added 45 feed links and it is really slow to update.

There's an API for Facebook https://developers.facebook.com/docs/public_feed/ but I can't apply to use.. :-(

The other chance is SimplePie maybe http://www.simplepie.org/wiki/setup/sample_page or I create my own Rss feed check :D It will not be easy for me :-(

from feed-on-feeds.

fluffy-critter avatar fluffy-critter commented on June 3, 2024

If you want assistance with other web services you should either ask on their various support forums, or try Stack Overflow since those are probably more appropriate venues than this bug reporting form. In any event this issue should be closed since your original question has been answered (and the docs have been improved on my fork, although it doesn't appear that RomanSixty's merged that change in yet).

But briefly:

FeedOnFeeds can certainly handle 600 feeds, but it's not intended to do what you want.

Planet Planet doesn't require Python CGI scripting, it just needs to be able to run Python scripts from the command line (from cron or whatever). Most webhosts will have Python installed. If you're on Dreamhost you definitely have Python (and can also run it as a CGI).

Does Yahoo! Pipes let you feed pipes into other pipes? If so you could set up multiple pipes to aggregate feeds, and then aggregate those pipes into a single feed as well.

SimplePie is the underlying library used by FeedOnFeeds. It's really good, but also heavyweight, and only handles the parsing and republication parts; it'll still be up to you to wire it all together and do the feed fetching and caching. It would be easier to just use the feed glommer I linked to earlier and add simple caching to it. If I find some time I could add that in, although keep in mind that this is a hobby project for me.

from feed-on-feeds.

RomanSixty avatar RomanSixty commented on June 3, 2024

Closing because issue is pretty old and diverged from the original (and answered) question.

from feed-on-feeds.

Related Issues (19)

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.