Is there any way to search Daniweb based on the title of the first post in a thread? For example, I seem to recall that we once had a thread where someone (possibly me) asked "What is the worst code you have ever seen". When I do a search for worst code I get multiple hits on the same thread (not relevent). It would reduce the hits greatly if I could search only on the text in the title without getting matches on all the Re: entries. If there isn't such a thread I was thinking of starting one.

Recommended Answers

All 7 Replies

Just after I posted I recalled that if I did make start such a thread it likely contained the strin sforx because the worst code I ever found was written in sforx (FORTRAN extension pre-processor) and that string was unlikely to appear anywhere else. Searching on that gave me this so I found what i wanted, but I think my suggestion might still be usefiul.

I do get that our search is not always ideal in that it heavily skews towards recent content, and it also shows multiple posts per topic. (I should address that at some point.)

However, there are some hidden features as well. You can pass in the query string parameters ?username=Reverend+Jim to only find posts written by you. You can also use ?forum_id= and ?cms= to only search a specific forum ID, or to only search a specific type of content (threads, news, code, tutorials, etc.)

Search results are no longer massively biased based on recency, and are now sorted based on relevance. Searching for worst code should now return what you were looking for. Note you can also use those hidden query string features for additional refinement.

I'll try it out. Thanks.

I'll try it out. Thanks.

Does the search work better for you now?

Much better.

Marking this question solved then :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.