[Radiant] Site Search

2009-10-11 Thread John Polling

Hi,

I've been asked to add a site search facility to our intranet site I'm  
working on at the moment.  I'm currently wondering what my best  
options are. The difficulty is that quite a bit of the site content is  
stored in extension specific tables.  Is using sphinx my best option?


Thanks

John
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] [ANN] Radiant 0.9.0 RC1

2009-10-11 Thread Anton Aylward
John W. Long said the following on 10/09/2009 10:21 PM:
 Hello!
 
 I am pleased to announce the first release candidate of Radiant 0.9.0.

Oh Goodie!

 * We’ve reduced the number of flash messages in favor of status  
 messages that pop up when you submit a form.

I'm not sure about that, I'll have to see how it interacts with my
Firefox popup-blocker.


 [...] We want to  
 encourage all extension developers to update their extensions to work  
 with 0.9.0 as the interface changes in this release are significant  
 and will break existing extensions. 

Which leads to my first question.
What testing with extension did you do in order to come up with that
observation?  You obviously know some extensions break, but which ones?
 And which ones DO work?

Much of the power of Radiant is in its extensions, so this is an
important point.

 
 As always we welcome your feedback and contributions.
 
 
 == Download  Install
 

Ah.

Any suggestions for running this along side the development of other
Radiant sites using earlier version?  For reasons of extension
compatibility and my lack of knowledge of GIT I still run a lot of 0.6.9
-- 
The least lack of discipline starts to erode our self-esteem.
   -- Jim Rohn, http://www.jimrohn.com
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] SnS Usage Questions -- I Need Feedback

2009-10-11 Thread Anton Aylward
Good idea.
I may have played with the settings and I may have omited the minifier
somewhere, but I've no objection to this, not to folding what is a key
extension into the distribution package.
-- 
Five exclamation marks, the sure sign of an insane mind.
-- Terry Pratchett _Reaper Man_
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] [ANN] Radiant 0.9.0 RC1

2009-10-11 Thread Sean Cribbs


* We’ve reduced the number of flash messages in favor of status  
messages that pop up when you submit a form.



I'm not sure about that, I'll have to see how it interacts with my
Firefox popup-blocker.

  
It's more of a pop-over than a popup.  It is an absolutely 
positioned element above everything else in the page.


Sean
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


[Radiant] Regarding the diplay of posts and stylesheets

2009-10-11 Thread Bhavin Patel
HiI have a problem. I am new to radiant.
i have made a home page as root, articles as child and some posts as child
of articles.
I have following code in normal layout
You can check too as it is just a test : http://communiqs.com/admin and user
and pass are default still
!DOCTYPE html html lang=en-us xmlns=http://www.w3.org/1999/xhtml;
head meta charset=utf-8/ titleDemonstration/title link
rel=stylesheet href=/stylesheet media=all title=Default
charset=utf-8/ /head body r:snippet name=header
h1r:title//h1 r:content/ /r:snippet r:snippet name=footer
r:content/ /r:snippet r:content/ /body /html

- and following code in home page---
div r:content part=central/ r:find url=/articles/
r:children:first order=desc by=published_at !--Display your entire
first post here-- /r:children:first r:children:each order=desc
by=published_at limit=4 offset=1 !--Display partial posts here (I
use a summary/excerpt page part) -- /r:children:each /r:find /div

*Still i am not able to see the post ? why .. what can be done?*
*as well as i have created stylesheet layout too to use with styles page in
root but even the styles are not in effect... i tried many things.. but
maybe i am missing something core*
*plsss help me asap.*
*Thanks community.*
*
*
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Regarding the diplay of posts and stylesheets

2009-10-11 Thread Nate

Bhavin Patel wrote:

HiI have a problem. I am new to radiant.
i have made a home page as root, articles as child and some posts as child
of articles.
I have following code in normal layout
You can check too as it is just a test : http://communiqs.com/admin and user
and pass are default still
!DOCTYPE html html lang=en-us xmlns=http://www.w3.org/1999/xhtml;
head meta charset=utf-8/ titleDemonstration/title link
rel=stylesheet href=/stylesheet media=all title=Default
charset=utf-8/ /head body r:snippet name=header
h1r:title//h1 r:content/ /r:snippet r:snippet name=footer
r:content/ /r:snippet r:content/ /body /html
  


You are wrapping your title and content with snippet tags.

r:snippet name=headerh1r:title//h1 r:content/ /r:snippet

Whether you intended that or not, hat's not how snippets work. Snippets 
are self-contained blocks of content, defined in the snippets area of 
the admin. The snippet tags are not used to define areas of a page on 
the fly.


If you wanted to set up the same page header for every page you could 
make a snippet called header with this inside it:


h1r:title //h1
h3r:content part=subhead //h3

Then you could place this in your layout like so:

body
r:snippet name=header /
r:content /
r:content part=extended /
/body

I hope this clears some things up for you.



~Nate
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Regarding the diplay of posts and stylesheets

2009-10-11 Thread john muhl
On Sun, Oct 11, 2009 at 8:05 AM, Bhavin Patel mindtra...@gmail.com wrote:
 *Still i am not able to see the post ? why .. what can be done?*

i see your posts. could you be more clear about what the issue is?

 *as well as i have created stylesheet layout too to use with styles page in
 root but even the styles are not in effect... i tried many things.. but
 maybe i am missing something core*

your style sheets page is called styles but in your layout you have:
link rel=stylesheet href=/stylesheet media=all title=Default
charset=utf-8/

which should be:
link rel=stylesheet href=/styles media=all title=Default
charset=utf-8/
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Regarding the diplay of posts and stylesheets

2009-10-11 Thread john muhl
On Sun, Oct 11, 2009 at 9:03 AM, Nate pixeln...@gmail.com wrote:
 Bhavin Patel wrote:

 HiI have a problem. I am new to radiant.

 You are wrapping your title and content with snippet tags.

 r:snippet name=headerh1r:title//h1 r:content/ /r:snippet

 Whether you intended that or not, hat's not how snippets work. Snippets are
 self-contained blocks of content, defined in the snippets area of the admin.
 The snippet tags are not used to define areas of a page on the fly.

actually that is a perfectly valid way for snippets to work. for example:

page: r:snippet name='title'r:title//r:snippet
snippet: h1r:yield//h1
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Regarding the diplay of posts and stylesheets

2009-10-11 Thread Nate

john muhl wrote:

On Sun, Oct 11, 2009 at 9:03 AM, Nate pixeln...@gmail.com wrote:
  

Bhavin Patel wrote:


HiI have a problem. I am new to radiant.
  

You are wrapping your title and content with snippet tags.

r:snippet name=headerh1r:title//h1 r:content/ /r:snippet

Whether you intended that or not, hat's not how snippets work. Snippets are
self-contained blocks of content, defined in the snippets area of the admin.
The snippet tags are not used to define areas of a page on the fly.



actually that is a perfectly valid way for snippets to work. for example:

page: r:snippet name='title'r:title//r:snippet
snippet: h1r:yield//h1


Is it really? I had no idea. Not quite sure about how to best make use 
of that new information. I'll have to percolate on that a while.



~Nate
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


[Radiant] Re: Site Search

2009-10-11 Thread Josh French

I've been asked to add a site search facility to our intranet site I'm
working on at the moment.  I'm currently wondering what my best
options are. The difficulty is that quite a bit of the site content is
stored in extension specific tables.  Is using sphinx my best option?


Hi John,

We've been using Sphinx (by way of the excellent Thinking Sphinx  
plugin) since switching from Ferret almost 2 years ago and never  
looked back. It's far more stable and the TS syntax is the best of the  
bunch, as far as I'm concerned.


The Sphinx Search extension was written for your scenario. In addition  
to indexing page content, you only need to add a define_index block to  
your custom models and they'll be indexed as well. At the moment  
there's a search results page class and associated tags for outputting  
the results, but you may have to tinker to get the tags to work with  
models that aren't Pages. There may be a way to abstract that out  
using the newer excerpts feature of Thinking Sphinx, but I haven't  
investigated that yet.


http://github.com/digitalpulp/radiant-sphinx-search-extension

Let me know if you have any questions about usage.

Best,
Josh

- - - - - - - - - - - - - - - - - - - - - - -
Josh French
Senior Engineer, Digital Pulp
j...@digitalpulp.com // 212.679.0676 x230

___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] [ANN] Radiant 0.9.0 RC1

2009-10-11 Thread Anton Aylward
Anton Aylward said the following on 10/11/2009 07:23 AM:

 Ah.
 
 Any suggestions for running this along side the development of other
 Radiant sites using earlier version?  For reasons of extension
 compatibility and my lack of knowledge of GIT I still run a lot of 0.6.9

'Cos I'd really like to try this for a new project I have in mind.


-- 
Perhaps I am a dinosaur, but if I saw the word hacker used positively
on a resume, I would have trouble continuing.  Hacking means using
quick and dirty means to achieve an objective without concern for
collateral damage and is totally opposite to my philosophy of first,
do no harm.
   -- Pagett Peterson, Wednesday, January 18, 2006
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant