[Pro] Feed2js

I do not understand the Feed2js action.

Tried it, did not work.

Have a html box, applied the action pasted the rss link.
Result: blank.

It is a link from a list from Apple. (Apples RSS link builder)
The link starts with: feed:https://…
I tried it with and without ‘feed’, no effect.

What am I doing wrong? Felt I followed the instructions on actionforge…


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

The issue may have to do with the https:// protocol. Can you post a link to a page showing the issue? Also, did you test this on your desktop, or from your page published on the Web?

Walter

On Apr 15, 2014, at 8:18 AM, Wimdg wrote:

I do not understand the Feed2js action.

Tried it, did not work.

Have a html box, applied the action pasted the rss link.
Result: blank.

It is a link from a list from Apple. (Apples RSS link builder)
The link starts with: feed:https://…
I tried it with and without ‘feed’, no effect.

What am I doing wrong? Felt I followed the instructions on actionforge…


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Walt,
I tested the link in a browser, and there it works fine. I also have it as a hyperlink on my website: http://appadvies.nl/Items/mHealth/apps-mhealth.html

On the right there are six links to AppleStore top 25 lists.
I would like to show at least one of these directly on my site.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

It absolutely works:

http://scripty.walterdavisstudio.com/feed2/

Have you tried checking the error log on your server? Depending on where you’re hosted, you may not have permission to use cURL to open a remote file with PHP, and this script relies on that.

Walter

On Apr 15, 2014, at 10:46 AM, Wimdg wrote:

Hi Walt,
I tested the link in a browser, and there it works fine. I also have it as a hyperlink on my website: http://appadvies.nl/Items/mHealth/apps-mhealth.html

On the right there are six links to AppleStore top 25 lists.
I would like to show at least one of these directly on my site.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I came across similar problems and in the end I went to https://feed2js.org and built the code from there. It also allows you to style how everything looks as well. You can see the ‘non-action’ version at http://www.dmoft.co.uk/ - it’s the ‘Latest news’ at the bottom.

All the best

Gordon
http://www.gordonlow.net/



freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Well, I think I will ask my hosting party. Thanks…


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Walt,

My Hoster whitelisted the apple ip for me. Still it does not work. I have the action and the link on my site: http://www.appadvies.nl

The html box with the action applied is under the text with the link to the top 10 medical apps.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

You have jQuery applied to this page, and you have not used the jQuery noConflict() function to intermediate. (Plus, it’s just a horrible idea to have two completely equivalent monolithic JavaScript libraries on the same page – double the download for no additional benefit.) Try removing the poll widget from your page and see if the feed starts magically working. If it does, then we can work out how you can replace it with a Prototype-based equivalent, or just add noConflict() to the page and abandon all hope of this page being friendly for mobile users.

Walter

On Apr 16, 2014, at 9:33 AM, Wimdg wrote:

Hi Walt,

My Hoster whitelisted the apple ip for me. Still it does not work. I have the action and the link on my site: http://www.appadvies.nl

The html box with the action applied is under the text with the link to the top 10 medical apps.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Walt,

I now have an error on the page!

Removed the other Javascript (I do not use the poll anymore)

We are getting there, but it is not working yet!


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Well, it’s not the feed itself:

http://scripty.walterdavisstudio.com/feed2/

I just updated my example to the feed you’re using.

I think this may be unrelated to the Action or your page. You mentioned that your host had to “whitelist” the Apple server – that sounds fishy to me. Do you have another server somewhere else that you could test this with?

Walter

On Apr 16, 2014, at 10:36 AM, Wimdg wrote:

Hi Walt,

I now have an error on the page!

Removed the other Javascript (I do not use the poll anymore)

We are getting there, but it is not working yet!


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

No Walt, I haven’t. What I will do is: ask my helpdesk from my host again. Now they can see the error message.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

To be clear, the script is saying that it is able to connect, but not get any content. You can point them to my page to assure them that the same technology does actually work.

Walter

On Apr 16, 2014, at 11:18 AM, Wimdg wrote:

No Walt, I haven’t. What I will do is: ask my helpdesk from my host again. Now they can see the error message.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

And make sure you ask them whether they have compiled PHP with the cURL extensions, and whether they allow those to be used in your specific case.

Walter

On Apr 16, 2014, at 11:18 AM, Wimdg wrote:

No Walt, I haven’t. What I will do is: ask my helpdesk from my host again. Now they can see the error message.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

My host now asks what PHP version and extensions you used on your example that works.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

PHP 5.3.10, with cURL 7.22.0 enabled. It’s just whatever got installed from apt-get under Ubuntu Linux, I didn’t do anything too ridiculous to get this to work. The Action has been out for years, used by many, and you’re the first person who has reported any issue with it.

Walter

On Apr 17, 2014, at 7:06 AM, Wimdg wrote:

My host now asks what PHP version and extensions you used on your example that works.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Yes I find it very odd too! Well, I have mailed my host helpdesk again. Thanks and I keep you posted,


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Well Walt, this is what my host uses on the server my site is on:

PHP 5.4.26
cURL version is curl 7.19.7

What could I be doing wrong in Freeway?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Nothing. Your page is not throwing any JavaScript errors, and the rest of the code happens on the server in PHP. I haven’t tested this script in PHP 5.4, but I don’t think it has any issues there.

Wait, I happen to have a 5.4 server handy: http://test.walterdavisstudio.com/feed/

And it still works there. I believe that the issue is on your server, most likely to do with permissions or local configuration settings in PHP or Apache. There shouldn’t be any reason to “whitelist” any hosts, so that’s a clue that something is not set up in the normal and expected manner on your server. There are lots and lots of $5/month hosts out there with “vanilla” PHP installations. I recommend you sign up for one somewhere, just to prove to yourself that your current host is not configured correctly.

You can also send me OFF LIST an e-mail containing a link to a phpinfo() page (instructions follow). You should definitely not leave this up for any length of time, or advertise its address on the public Web – it’s full of juicy bits of information about your server that are fairly sensitive and may leave you open to abuse. Once I’ve had a chance to look at it and read through it for clues, you can and should delete it from your server.

  1. Use a programmer’s text editor, like the free TextWrangler from http://barebones.com
  2. In a new empty file, add the line of code <?php phpinfo(); ?>. (If you’re reading this in e-mail, don’t include the back-ticks surrounding the code, that’s just there to make this look nice on the Web view of the mailing list.)
  3. Name this file something cryptic, ending in .php, like asdfasdfsdfdfs.php.
  4. Upload the file to your server, in the same folder as your current index.html file using an FTP application like Transmit.
  5. Send me the name of that file, whatever it is, as a URL: http://example.com/asdfasdfsdfdfs.php (where example.com is your actual domain name). If you’re only viewing this on the Web, you may find my contact information by clicking on my name in the header of this message.

Walter

On Apr 18, 2014, at 11:49 AM, Wimdg wrote:

Well Walt, this is what my host uses on the server my site is on:

PHP 5.4.26
cURL version is curl 7.19.7

What could I be doing wrong in Freeway?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

OK Walt. Interesting… I will do that.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options