Sponsored Content
The Lounge What is on Your Mind? Moved Advanced Stats to Search Results Pages Post 303026943 by Neo on Wednesday 5th of December 2018 10:20:50 AM
Old 12-05-2018
OK.. .I changed this back to how it was before since our SEO for that page is falling fast.

Oh well, you can't say I did not try... LOL

I should be more patient with SEO and give it a week, but I liked the old home page better and will just have to "suffer" with all the links from the stats pages until I write a better home page app.

Onwards and upward.

OBTW: I made the "featured discussion" page available here, I may do something with this later.

Code:
https://www.unix.com/featured.php

https://www.unix.com/featured.php

This was a short-lived new home page experiment, only to be frowned upon by the Google SEO God.
This User Gave Thanks to Neo For This Post:
 

9 More Discussions You Might Find Interesting

1. Post Here to Contact Site Administrators and Moderators

Advanced Search Problems.. Search by User Name

There seems to be some problems with Advanced Searching (by User Name & Keyword). I will try to fix this by upgrading vB soon. Thanks for your patience. Neo (1 Reply)
Discussion started by: Neo
1 Replies

2. Shell Programming and Scripting

How to divide results into several pages?

Hi All, I am wondering if anyone can help me with this. I have a long list of results and I want to divide them into several pages. Any ideas of how to do this? I'm using perl languange. eg: Output file consist of 400 data then would like to divide it into 50 data per pages. any help on... (2 Replies)
Discussion started by: kate katherine
2 Replies

3. UNIX for Advanced & Expert Users

search the entire man pages

Could someone please tell me how to search the entire man pages? I know man -k whatever searched the description but I wanna search the entire man page. (8 Replies)
Discussion started by: cokedude
8 Replies

4. Shell Programming and Scripting

Can ctag and cscope support recording search results and displaying the history results ?

Hello , When using vim, can ctag and cscope support recording search results and displaying the history results ? Once I jump to one tag, I can use :tnext to jump to next tag, but how can I display the preview search result? (0 Replies)
Discussion started by: 915086731
0 Replies

5. Shell Programming and Scripting

Advanced string search + selection

Hi All, I want to run a script that will search backwards through a text file until it finds a certain string, something like "Date/Time/Eng" and select a string which happens to be a date and save that as a variable. The line will always be in the following exact format: Date/Time/Eng. ... (4 Replies)
Discussion started by: martin0852
4 Replies

6. What is on Your Mind?

Search Results (Search, New, and Today's Topics) Animation Switch

Hey, I added an animation switch on the search results page; so by default the thread previews are off, but if you want to look at them, just click on the green button and the thread previews will turn on (and back off). See image and attached animation: ... (1 Reply)
Discussion started by: Neo
1 Replies

7. What is on Your Mind?

Reformatted Advanced UNIX.COM Search Page (Desktop)

Just enabled Bootstrap for the advanced forum search page (desktop view): https://www.unix.com/search.php That' page still needs work, and to be converted from <table> elements to <div> elements, and to be redesigned, but in the meantime, it's OK using Bootstrap CSS. Note: Before, we had... (0 Replies)
Discussion started by: Neo
0 Replies

8. What is on Your Mind?

Changes to the Forums (Pages and Stats)

Hey. So... here are the changes. 1. The current home page of the forum is now based on a algo (below) which shows a thread based on this SQL $select_limit = 1; $reply_count = 3; $thread_array = array(); $forum_id = 30; //shell programming $query = 'SELECT * FROM thread WHERE... (5 Replies)
Discussion started by: Neo
5 Replies

9. What is on Your Mind?

Update to Advanced Search Page (Phase 1)

Update: I have completed the first phase of revamping the "Advanced Search" page using Bootstrap (desktop not mobile yet): https://www.unix.com/search.php https://www.unix.com/search.php I may change this to a Bootstrap modal later and change the CSS a bit more; but for now it is much... (0 Replies)
Discussion started by: Neo
0 Replies
MojoMojo::Formatter::TOC(3pm)				User Contributed Perl Documentation			     MojoMojo::Formatter::TOC(3pm)

   module_loaded
       Return true if the module is loaded.

NAME
MojoMojo::Formatter::TOC - generate table of contents DESCRIPTION
This formatter will replace "{{toc}}" with a table of contents, using HTML::GenToc. If you don't want an element to be included in the TOC, make it have "class="notoc"" METHODS
format_content_order The TOC formatter expects HTML input so it needs to run after the main formatter. Since comment-type formatters (order 91) could add a heading for the comment section, the TOC formatter will run with a priority of 95. format_content Calls the formatter. Takes a ref to the content as well as the context object. The syntax for the TOC plugin invocation is: {{toc M- }} # start from Header level M {{toc -N }} # stop at Header level N {{toc M-N }} # process only header levels M..N where M is the minimum heading level to include in the TOC, and N is the maximum level (depth). For example, suppose you only have one H1 on the page so it doesn't make sense to add it to the TOC; also, assume you and don't want to include any headers smaller than H3. The {{toc}} markup to achieve that would be: {{toc 2-3}} Defaults to 1-6. SEO-friendly anchors Anchors should be generated with SEO- (and human-) friendly names, i.e. out of the entire token text, instead of being numeric or reduced to the first word(s) of the token. In the spirit of http://seo2.0.onreact.com/top-10-fatal-url-design-mistakes, compare: http://beachfashion.com/photos/Pamela_Anderson#In_red_swimsuit_in_Baywatch vs. http://beachfashion.com/photos/Pamela_Anderson#in "Which one speaks your language more, which one will you rather click?" The anchor names generated are compliant with XHTML1.0 Strict. Also, per the HTML 4.01 spec, anchor names should be restricted to ASCII characters and anchors that differ only in case may not appear in the same document. In particular, an anchor name may be defined only once in a document (logically, because otherwise the user agent wouldn't know which #foo to scroll to). This is currently a problem with HTML::Toc v1.11, which doesn't have support for passing the already existing anchors to the "templateAnchorName" sub. assembleAnchorName http://search.cpan.org/dist/HTML-Toc/Toc.pod#templateAnchorName SEE ALSO
MojoMojo and Module::Pluggable::Ordered. AUTHORS
Dan Dascalescu, <http://dandascalescu.com> LICENSE
This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2010-05-23 MojoMojo::Formatter::TOC(3pm)
All times are GMT -4. The time now is 03:48 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy