date in search results
by Jim Nagel
What causes Google (or other searchers) to display (or not display) a
DATE in search results?
For instance, search for "Terran site:iconbar.com" -- some of the
items listed show a date and some don't.
If I ran the world, *every* item would show a date. So often one
wants current information, not waste time on stuff from 2001. But
sometimes historical stuff is indeed what is sought.
So state date. I've long wondered what the mechanism is.
--
Jim Nagel www.archivemag.co.uk
|| See you at the show? www.riscos-swshow.co.uk Feb 24
5 years, 2 months
linking to root of website, not root of drive
by Jim Nagel
I have tidied up one of my websites to make better use of CSS, and now
intend to add some new pages to it. Of course I want to keep it
Netsurf-friendly.
The <head> section of each article includes the usual link to my
stylesheet, which (in Linux filepath syntax) might be
2018.css or
../2018.css or
../../2018.css etc
depending how many branches back it roosts on the directory tree.
Advice from Linuxland tells me that simply prefixing a "/" with no
dots before it makes the link "absolute" (to the root of the website)
rather than relative to the page where we are when writing the link.
IT would be quite handy&welcome to use this trick rather than having
to adjust the links for stylesheet, page background and top-of-page
graphic if I relocate a page in the directory structure. This indeed
works when viewing my page online.
However, when developing the page in the local copy of my site rather
than online, the "absolute" version of the link looks for the *root
directory of my own RiscOS drive* rather than the root of the website.
If I make a copy of the stylesheet as $.2018/css Netsurf is happy.
Is there a way around this? Is there some setting I would need to
make in Netsurf to define what I mean by "/" as root? (Presumably
there is such a setting in my ISP's software, for I am not being taken
to the root of their drive!)
Excuse me if this is a dumb question, but I haven't been here before.
http://glastonburyconservation.org.uk if anybody wants to have a look.
--
Jim Nagel www.archivemag.co.uk
|| See you at the show? www.riscos-swshow.co.uk Feb 24
5 years, 3 months
displaying a nested list
by Jim Nagel
Any chance that Netsurf could be made to display a nested list,
please?
Many designers seem to like using this feature for menus -- here's an
example: http://stjohns-glastonbury.org.uk
All three of the menu items here (About, Heritage, More...) are meant
to produce a dropdown of several sub-items.
Netsurf users might assume the problem is Javascript, because nothing
seems to happen on clicking the menu. But inspect the HTML source and
you see no Javascript, only nested lists.
As a workaround, I concocted a "Menu-redux" page by saving the source,
deleting most of it, and adding a <base> tag to the head. Now I have
a separate page containing all the menu items as a clickable list:
http://archivemag.co.uk/TEMP/menu-redux.html
An outside agency designed this site as a sort-of content-management
thing; I have volunteered locally to coordinate uploading stuff to it.
My Menu-redux workaround is fine for the public-facing site.
However, for the Admin page I have to log in, and URLs for Admin
menu items include a session ID which is different every time.
So it would sure be nice if Netsurf could display those dropdown
nested menus -- which are widely used -- to begin with, rather than
requiring a workaround. I have no idea, though, how much developer
effort that would entail.
--
Jim Nagel www.archivemag.co.uk
5 years, 3 months
missing build/Linux-gtk/messages_gresource.c
by russellbell@gmail.com
I just downloaded latest. make returns:
cc: error: build/Linux-gtk/messages_gresource.c: No such file or directory
cc: fatal error: no input files
compilation terminated.
make[1]: *** [Makefile:849: build/Linux-gtk/build_Linux-gtk_messages_gresource.o] Error 1
make[1]: Leaving directory '/usr/src/netsurf-all-3.7/netsurf'
make: *** [Makefile:124: /usr/src/netsurf-all-3.7/inst-gtk/build-stamp] Error 2
messages_gresource.c isn't. What's up?
russell bell
5 years, 3 months