eZ Community » Projects » Netgen Push

Netgen Push

Friday 12 November 2010 - http://projects.ez.no/ngpush

Netgen Push provides a simple and effective way to push any kind of content from eZ Publish to various social networks.

» Visit project page    » Project members    » Reviews

Latest forum activity - Visit project's forums page

Friday 12 November 2010 7:35:03 pm

I am looking to include Harvard Business Review Publication RSS into my website.

I've been able to create a new RSS Item and title, PubDate and Link are importing correctly but not image associated with RSS.

How do I make the RSS include associated image?

Here is the link to the RSS feed from HBR

http://feeds.harvardbusiness.org/harvardbusiness?format=xml

followed the steps found on this forum for creating RSS items and importing

http://share.ez.no/learn/ez-publi...d-export-rss-feeds/(language)/eng-GB

Cant get images to import. Please help.

Monday 15 November 2010 3:05:02 pm

Hi Jonathan,

This has nothing to do with ngpush extension happy.gif Emoticon

Post this to the community site: http://share.ez.no/

Tuesday 16 November 2010 8:35:04 am

Hi,

Thanks Netgen for this really cool extension. I didn't try it yet (I'll do soon) but I was having a look at the code and I saw some 'frwite', 'fclose', 'file_exist'

Is there any luck that you use eZClusterHandler class to handle this and thus be compatible with cluster environment ?

Thanks !

Tuesday 16 November 2010 11:05:03 am

Cool happy.gif Emoticon

Thank you !

Tuesday 16 November 2010 11:35:03 pm

I have to second this request happy.gif Emoticon

Wednesday 17 November 2010 12:35:04 pm

Hello!

I've followed the install instruction and then created a workflow, then I created a trigger ( after publish ).

I published an article and I could see the push node screen, but when I clicked push on twitter block, I got a "Please wait, requesting..." message and nothing more.

What step am I missing?

Wednesday 17 November 2010 1:05:04 pm

I've downloaded the extension today, the latest file was modified yesterday. Maybe I am doing something wrong.

Wednesday 17 November 2010 1:35:04 pm

Did you check that jQuery is not loading twice, or maybe it's missing altogether? View the source when Netgen Push page is displayed and search for "jquery" to check it out.

Also, the extension requires ezjscore extension to be installed and configured (user needs access to ezjscore/call function).

You can also use Firebug console to see if there are any errors when clicking the Push button.

We've tested the extension on stock eZ Publish 4.3

Wednesday 17 November 2010 2:35:04 pm

Hi Thiago,

Check the blog post for better insight:

http://www.netgen.hr/eng/Blog/Overview-of-Netgen-Push-extension

Tuesday 31 May 2011 3:05:22 pm

Hello, I've installed netgenpush succesfully, great tool but now I have 2 Issues:

1. For the Administrator User, the Push of the Content is no problem. After authorizing with facebook or twitter, the content can be pushed on these accounts - but not for other users, altough they have full access to the module push. For example for Users with the Role Editor, there is just the red x-Icon, no error message and no link.

2. It would be great If we can "save" the authorization to Facebook

Tuesday 31 May 2011 3:35:22 pm

Hello Matthias,

we have fixed this bug a long time ago. Editors can request

Wednesday 01 June 2011 3:35:22 pm

Hello Edi

Thank you for your fast reply.

I have downloaded netgen push again and tried it again, now I have the link to authorize with facebook

Wednesday 01 June 2011 4:05:23 pm

Hm...

That is a weird problem indeed.

Did you by any chance overwrite your ini settings when you updated Netgen Push?

I have just tried authorising and pushing content to twitter and to facebook on couple of eZ Publish versions and didn't find any problems.

"Request access permissions" is nothing but onlick event on <a> tag, so you can see for yourself where does it lead and possibly detect any errors in communication with twitter and facebook.

Friday 03 June 2011 11:05:20 am

I tested id after the update directly with the editor user. Now I have done a push with the Admin, where the authorization worked. Now, it works also for non-admin users - perfect.

Thank You for your help.

I saw that the "Push to all Services"-Button doesn't work, do you know if I can fix that?

Tuesday 07 June 2011 4:05:23 pm

Additional to the Push-Button, I have two other Issues:

- The Access Permissions are only saved for a few hours - is it possible to save the access forever?

- The Content of the Text Areas in Netgen Push shows me the content of the Attributes in the Default Language, not in the Language I edited. How can I change this content into the edited one?

Tuesday 07 June 2011 4:35:23 pm

Hi Matthias,

sorry for the late response!

One of our developers is currently improving Netgen Push and one of the fixes is Push All button.

I will relay him your feature request about the language edited being used and not the default one happy.gif Emoticon

Stay tuned for those two happy.gif Emoticon

About length of the access token, that depends on the service. We actually request infinite tokens both from Facebook

Saturday 11 June 2011 11:35:21 pm

Hello Matthias,

Would like to let you know that we just updated Netgen Push with fixes for "Push all" button and displaying only default language.

We'll put up the announcement next week so keep an eye out as there is one more interesting feature added happy.gif Emoticon

Sunday 12 June 2011 1:05:25 pm

Hey guys, we know this was a long overdue, but it's here finally happy.gif Emoticon

Just updated Netgen Push to version 1.1 and eZClusterFileHandler is used now happy.gif Emoticon

Monday 30 January 2012 12:35:32 pm

Hi! We have implemented this extension in a large installation. We are very happy with it, but still we have some ideas for further improvement. I thought here was a good place to share them:

When using the trigger function to push after object publication, there is no option 'skip', and it is unclear whether your object has already been published or not. A button to skip this step, or a notification that your object has already been published and it is save to navigate away, would be great.

There is no way to re-edit your message after pushing. Afaik there is no saved relation between an object and pushed messages. I know implementing this has some caveats, but it would be nice if the extension also supported editing existing pushes.

Keep up the good work!

Monday 06 February 2012 6:35:32 pm

Hi Sander,

It's great to hear you like the extension blunk.gif Emoticon

thanks for your feedback, you raise valid points happy.gif Emoticon Although, I must confess, due to lack of time, it certainly will pass some time before we get around to implementing them sad.gif Emoticon

Tuesday 21 February 2012 3:05:38 pm

I understand. I'll see if I can lend a hand blunk.gif Emoticon

Wednesday 26 December 2012 5:05:52 pm

Hi,

I've installed Netgen Push, and I have issues when pushing to Twitter. I have not tried yet with Facebook.

 

First of all, I created a <b>ngpush.ini.append.php</b> file. Here is the important part of it :

<code>

[PushNodeSettings]

# No http://

SiteURL=qualif.vaccinations-airfrance.fr

ConnectURL=push.netgen.hr

Blocks[]

Blocks[]=twitter

Blocks[]=facebook

ActiveBlocks[]

ActiveBlocks[]=twitter

ActiveBlocks[]=facebook

[twitter]

Name=Umanit_test

Type=twitter

ConsumerKey=<THE KEY>

ConsumerSecret=<THE SECRET>

attrId_status[]

# Actualités

attrId_status[news_item]=title

# Articles

attrId_status[article]=title

# Rubriques

attrId_status[folder]=title

</code>

Notes about this INI file :

I use the default ConnectURL, Blocks and ActiveBlocks.

<THE KEY> and <THE SECRET> are given by Twitter : https://dev.twitter.com/apps/<MY APP ID>/oauth.

 

Here is the Ajax response when trying to push :

<code>

{"error_text":"","content":{"status":"error","messages":["You need access token to use this application with Twitter."],"response":null,"RequestPermissionsUrl":"https:\/\/api.twitter.com\/oauth\/authorize?oauth_token="}}

</code>

 

I spent hours looking at the source code and found something :

The <b>push/save_access_token</b> module gets executed from share/connect_server/redirect.php but without the $_GET['oauth_verifier'] variable... I can't figure out how this is working.

Can you help me ?

 

Many thanks.

Vincent

Monday 31 December 2012 11:05:57 am

Hi Vincent,

you are right, the link should have the oauth_token GET parameter populated.

Token requesting happens in ngPushTwitterBase::requestToken method.

Couple of things come to mind why it wouldn't work.

1) Wrong consumer key

Wednesday 02 January 2013 12:05:49 pm

Hi Edi,

Thanks for you answer, but I didn't manage to make it work. I made a few changes in the extension so that it handles tokens directly from the settings file.

If the tokens aren't set in the INI file, the extension will fallback on its default behavior, using oAuth requests.

Do you want me to commit on a fork, so that you can pull on the main repo, or discard it ?

Friday 04 January 2013 3:35:52 pm

Hi Vincent,

sure, you can create the pull request, why not happy.gif Emoticon

And thanks for the initiative happy.gif Emoticon

Monday 07 January 2013 11:35:51 am

Ok, we'll test our modifications on an other project and create the pull request by the end of January.

Monday 07 January 2013 3:35:49 pm

Great!

Thanks happy.gif Emoticon

Wednesday 21 August 2013 1:06:01 pm

Hi again,

Since a while I experience problems when pushing to Facebook. Authorization appears to be fine, but when I look at the contents of var/cache/ngpush I only see one txt file facebook_main_token.txt which is empty.

After further debugging I also found that $Params['accessToken'] in module push/save_access_token is empty.

What could be wrong? I'm using master branch. Twitter push is working as expected.

Any help is very much appreciated!

Thursday 22 August 2013 10:06:08 am

Hi Sander,

I cannot reproduce the issue unfortunatelly. I just tried pushing a node to Facebook with the cache completely cleared, and Facebook token was properly stored and later retrieved.

Wednesday 04 September 2013 3:05:28 pm

Sorry. wasn't tracking this thread.

I made a new clone of the netgen/ngpush repository and cleared all caches (browser and ez). Still the same problem using eZ Publish master branch (lagacy only stack).

Wednesday 04 September 2013 3:35:26 pm

After some more debugging I remembered the extension used a custom redirect url, on there I still had to upgrade redirect.php. Solved blunk.gif Emoticon

Thursday 05 September 2013 3:35:25 pm

Hi Sander!

I'm glad you got it working happy.gif Emoticon

Members - Visit project's team page
Real name:
Petar Španja
Country:
Croatia 
#Posts:
8
Real name:
Edi Modrić
Country:
Croatia 
#Posts:
301
Real name:
Ivo Lukač
Country:
Croatia 
#Posts:
738
Project reviews - See all reviews

No review yet.

Proudly Developed with from