Sunday, 27 July 2014

Week 10 - Fine Tuning Part 2

Ten week's have passed since the coding period began for gsoc 2014,and I spent the last week fine tuning the code which I had written.

  • Validation for nodes in fluid,It wont crash if the target nodes do not exist.
  • Logger now saves the log in the Data/Logs folder of the installation.
  • Work in progress to try and integrate blogger api.
  • Blogger Api which i'm using is not namespaced,hence using that is quite tricky.

Sunday, 20 July 2014

Week 9 - Fine Tuning part1

By the end of last week I was done implementing all the features I set out to implement in my GSOC proposal.So I have put the project on review(link).
  This week I received a suggestion from Simon Schaufelberger to implement a social image feature so that instead of choosing random images in a page while posting,the user can choose which image he wants to be displayed with Faceebook and Twitter,and that will have a separate field in the inspector with image upload.

This Feature was implemented and a few more issues were solved regarding Twitter image sharing.

Saturday, 12 July 2014

Week 8 : PreView

Let's recap what I have been doing with this small video.Thanks to this project I'm getting to learn a lot of new technologies every week.This week since I indulged in creating a preview for Facebook and Twitter I got my hands dirty with TypoScript and Fluid for the First time.

  • Facebook Preview System for Posting a page,which gives a sample layout with the Post Parameters chosen appropriately.

  • Twitter Preview System for Page Posting ,shows a simple template of what it will look like once posted on Twitter.

  • I have isolated any Twitter/Facebook CSS from this project as proprietary code would cause licensing issues.
  • Fixed a bug regarding caption limit to Facebook posting.  
  • Unable to show image in preview.
  • There are some issues when previewing blank/incomplete pages
Next Week Goals:
  • Find and Fix any bugs relating to this project.and improve performance.
  • Make a tutorial explaining installation .
Catch this project on Github  or packagist.Drop a comment if you have any ideas on making this project better.

Monday, 7 July 2014

week 7 :Picture Perfect

Previously Image posting on Facebook used to work with an image link specified in the Config file.this week i set out to dynamically fetch the Image within the Node specified and grab the Web URL related to that link and pass it as a parameter for post.

  • Used textFinder() which locates inner TextNodes and made changes to facilitate Image Nodes.
  • Image Nodes are analyzed and converted to resource to get the web URL.
  • Web URL is specified as the post paramter for the image and post is published.
  • some Code Clean up of existing redundant code and fixed a few Bugs of previous builds involving Headline Nodes.
  • Lack of an actual server prevented me from testing image link because i have provided http/https links for Facebook/Twitter.
Next week Goals:
  • Implement a system for previewing the post on various channels.
Please post some suggestions if you have any idea on how to improve this project.
Follow Progress GitHub