Re: PDF Generation on Heroku

2011-02-26 Thread Dennis Major
Has your gmail id been hijacked? I'm relying to this note attached note

On 26 February 2011 00:51, kumari s kumari...@gmail.com wrote:

 http://groups.google.com/group/super-star20011

 a href=http://www.PaisaLive.com/register.asp?2024379-5217218;bfont
 color=#FF size=4Earn upto Rs. 9,000 pm checking Emails. Join
 now!/font/b/aa href=
 http://www.PaisaLive.com/register.asp?2024379-5217218;bfont
 color=#FF size=4Earn upto Rs. 9,000 pm checking Emails. Join
 now!/font/b/a

 http://www.PaisaLive.com/register.asp?2024379-5217218

 http://www.PaisaLive.com/register.asp?2024379-5217218

 http://www.PaisaLive.com/register.asp?2024379-5217218

 http://www.PaisaLive.com/register.asp?2024379-5217218

 http://www.PaisaLive.com/register.asp?2024379-5217218


 On Sat, Feb 26, 2011 at 6:06 AM, Josh Coffman joshcoff...@gmail.comwrote:

 I've used Prawn/Prawnto to generate pdf's on heroku, which were then
 either downloaded or attached to an email. Worked well for me.


 On Fri, Feb 25, 2011 at 10:13 AM, kumari s kumari...@gmail.com wrote:

 http://www.PaisaLive.com/register.asp?2024379-5217218http://www.paisalive.com/register.asp?2024379-5217218



 On 2/25/11, John Beynon j...@beynon.org.uk wrote:
  We're faced with having to generate PDFs on Heroku - we've been looking
 at
  wickedPDF and taken a look at the new heroku addon DocRaptor.
 
  I'm curious with DocRaptor - with their Ruby example
  at http://docraptor.com/examples (Rails tab) - where does Heroku's
  involvement end - is a dyno 'busy' throughout? For example a pdf link
 is
  clicked which is then passed over to DocRaptor via a post (consuming a
 Dyno)
  and then waits for the response to be generated and then streamed back
 to
  the same dyno which then sends the data to the client browser - so a
 dyno is
  essentially busy throughout this process from when the link is clicked,
  waiting for the response and then returning the data to the client
 browser?
 
  What we're looking at is being able to generate PDFs without consuming
  precious dynos - I've seen mentions of using DJ for background
 processing
  but we want the user to able to click a button which kicks of the PDF
  generation and shows them 'Generating' and then when the doc is ready
 send
  it to the client but I'm thinking that may need writing to tmp to then
 serve
  back?
 
  Any one done anything similar?
 
  Any ideas?
 
  John.
 
  --
  You received this message because you are subscribed to the Google
 Groups
  Heroku group.
  To post to this group, send email to heroku@googlegroups.com.
  To unsubscribe from this group, send email to
  heroku+unsubscr...@googlegroups.com.
  For more options, visit this group at
  http://groups.google.com/group/heroku?hl=en.
 
 

 --
 You received this message because you are subscribed to the Google Groups
 Heroku group.
 To post to this group, send email to heroku@googlegroups.com.
 To unsubscribe from this group, send email to
 heroku+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/heroku?hl=en.


 --
 You received this message because you are subscribed to the Google Groups
 Heroku group.
 To post to this group, send email to heroku@googlegroups.com.
 To unsubscribe from this group, send email to
 heroku+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/heroku?hl=en.


  --
 You received this message because you are subscribed to the Google Groups
 Heroku group.
 To post to this group, send email to heroku@googlegroups.com.
 To unsubscribe from this group, send email to
 heroku+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/heroku?hl=en.


-- 
You received this message because you are subscribed to the Google Groups 
Heroku group.
To post to this group, send email to heroku@googlegroups.com.
To unsubscribe from this group, send email to 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.



Re: PDF Generation on Heroku

2011-02-26 Thread Jesse House
besides prawn you might want to look at pdfkit, it does html/css
conversion to pdf, you don't have as much control over the rendered
output as with prawn but for some scenarios it works great

https://github.com/jdpace/PDFKit

http://blog.mattgornick.com/using-pdfkit-on-heroku

also you need to be careful, if your image/css references are http you
can deadlock your dyno if you don't have multiple running - or you
need to reference your resources using local file:/// during pdf
generation

http://jguimont.com/post/2627758108/pdfkit-and-its-middleware-on-heroku


On Feb 25, 4:36 pm, Josh Coffman joshcoff...@gmail.com wrote:
 I've used Prawn/Prawnto to generate pdf's on heroku, which were then either
 downloaded or attached to an email. Worked well for me.







 On Fri, Feb 25, 2011 at 10:13 AM, kumari s kumari...@gmail.com wrote:
 http://www.PaisaLive.com/register.asp?2024379-5217218

  On 2/25/11, John Beynon j...@beynon.org.uk wrote:
   We're faced with having to generate PDFs on Heroku - we've been looking
  at
   wickedPDF and taken a look at the new heroku addon DocRaptor.

   I'm curious with DocRaptor - with their Ruby example
   athttp://docraptor.com/examples(Rails tab) - where does Heroku's
   involvement end - is a dyno 'busy' throughout? For example a pdf link is
   clicked which is then passed over to DocRaptor via a post (consuming a
  Dyno)
   and then waits for the response to be generated and then streamed back to
   the same dyno which then sends the data to the client browser - so a dyno
  is
   essentially busy throughout this process from when the link is clicked,
   waiting for the response and then returning the data to the client
  browser?

   What we're looking at is being able to generate PDFs without consuming
   precious dynos - I've seen mentions of using DJ for background processing
   but we want the user to able to click a button which kicks of the PDF
   generation and shows them 'Generating' and then when the doc is ready
  send
   it to the client but I'm thinking that may need writing to tmp to then
  serve
   back?

   Any one done anything similar?

   Any ideas?

   John.

   --
   You received this message because you are subscribed to the Google Groups
   Heroku group.
   To post to this group, send email to heroku@googlegroups.com.
   To unsubscribe from this group, send email to
   heroku+unsubscr...@googlegroups.com.
   For more options, visit this group at
  http://groups.google.com/group/heroku?hl=en.

  --
  You received this message because you are subscribed to the Google Groups
  Heroku group.
  To post to this group, send email to heroku@googlegroups.com.
  To unsubscribe from this group, send email to
  heroku+unsubscr...@googlegroups.com.
  For more options, visit this group at
 http://groups.google.com/group/heroku?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
Heroku group.
To post to this group, send email to heroku@googlegroups.com.
To unsubscribe from this group, send email to 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.



GeoSpatial search with WebSolr

2011-02-26 Thread Cristiano
Has anyone tried to implement geo-spatial search with WebSolr on
Heroku? I am looking to implement it myself but want to know if it's
even remotely possible.

-- 
You received this message because you are subscribed to the Google Groups 
Heroku group.
To post to this group, send email to heroku@googlegroups.com.
To unsubscribe from this group, send email to 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.