I tried getting this all working and am using http://bakery.cakephp.org/articles/view/automagic-rss-feed-generator-plugin on my build of CakePHP 1.1.
My only issue, is I don't understand how to find out the hash for the user that is given in the URL. For instance, in a URL like http://myapp.com/my_controller/my_rss/user_hash how can I only get the user_hash from the URL to compare to my hash in the user table? Any help is super appreciated because I am just spinning my wheels at tthis point. I know I am soooo close to! Thanks, daniel On Jan 6, 1:19 pm, graphicdefine <[EMAIL PROTECTED]> wrote: > Thanks so much Williamg! I understand now! > > I'm going to try this out tonight and let you guys know how it goes. > If I create any good code out of it I'll be sure to share. > > Thanks so much, > daniel > > On Dec 26 2007, 2:44 pm, Williamg <[EMAIL PROTECTED]> wrote: > > > Hi Daniel, if you use the link I sent earlier.. you should be able to set up > > a quick and easy feed. > > > Now, about customising it so that eachuserhas a unique URL, you could > > follow my earlier recommendation of adding a hash field in your users table. > > ---------- > > | users | > > ---------- > > id > > username > > rss_hash > > ------------- > > > In your controller, (using the techniques) at that link i sent you can check > > if the request is anrssrequest. > > > If it is, retrieve the hash from the url and get theuserfrom the database > > where hash = hash retrieved from the url. > > > That should work nicely. This will allow you to issue unique urls to each > >userwithout explicit authentication. Obviously if the data in the feed is > > sensitive then you probably want to add a few security measures to the above > > method. I hope this helps.. > > > P.S: I use cake 1.2 > > > On Dec 26, 2007 6:11 PM, graphicdefine <[EMAIL PROTECTED]> wrote: > > > > Thanks for the response! That sounds easy enough but i am not sure > > > what the method should look like. My usual login code? > > > > On another note, I thought CakePHP 1.2 is only for production and not > > > live sites yet? I was under this assumption so I've been coding this > > > site in CakePHP 1.1 > > > > Thanks so much, > > > daniel > > > > On Dec 26, 6:16am, "Dr. Tarique Sani" < [EMAIL PROTECTED]> wrote: > > > > Oops! change the "presume" to "you should" ;) > > > > > Tarique > > > > > On Dec 26, 2007 4:45 PM, Dr. Tarique Sani < [EMAIL PROTECTED]> > > > wrote: > > > > > > On Dec 26, 2007 10:57 AM, graphicdefine <[EMAIL PROTECTED] > > > > wrote: > > > > > > > Forgive me for my perhaps naive question, but does anyone know how I > > > > > > can offerRSSfeeds on my site for each individualuser? Originally > > > I > > > > > > was thinking of attempting to create a password-protected feed, but > > > I > > > > > > have never done that before and couldn't find any documentation of > > > any > > > > > > other bakers whom have tried. > > > > > > I presume you are using cake 1.2 and also presume that you have > > > > > createdrssfeeds using cakephp before - just create a feed like any > > > > > other... create a method to accept an md5 unique id as a param > > > > > > So your URL will look like > > > > >http://yourdomain/your_controller/your_rss_action/md5id.rss > > > > > > Should work.... > > > > > > HTH > > > > > Tarique > > > > > > -- > > > > > ============================================================= > > > > > Cheesecake-Photoblog:http://cheesecake-photoblog.org > > > > > PHP for E-Biz:http://sanisoft.com > > > > > ============================================================= > > > > > -- > > > > ============================================================= > > > > Cheesecake-Photoblog:http://cheesecake-photoblog.org > > > > PHP for E-Biz:http://sanisoft.com > > > > ============================================================= > > > -- > > Gbolahan Williams > > -- > > This message contains confidential information and is intended only > > for the individual named. If you are not the named addressee you > > should not disseminate, distribute or copy this e-mail. Please > > notify the sender immediately by e-mail if you have received this > > e-mail by mistake and delete this e-mail from your system. > > > E-mail transmission cannot be guaranteed to be secure or error-free > > as information could be intercepted, corrupted, lost, destroyed, > > arrive late or incomplete, or contain viruses. The sender therefore > > does not accept liability for any errors or omissions in the contents > > of this message which arise as a result of e-mail transmission. If > > verification is required please request a hard-copy version. This > > message is provided for informational purposes and should not be > > construed as a solicitation or offer to buy or sell any securities or > > related financial instruments. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---