|
Home Pages Pidgin Azarennya (S|N) Mac Textanium Reference ToDo Food Local Edit Local: Hide Weather • GoWhere? • YahooMaps (mine) • GoogleMaps • Metro (map) • FairfaxConnector • GreaterGreaterWashington • DCMetrocentric • WhatsUpArlington • Restonian • BeyondDC • BaconsRebellion Language: Hide Fantasy: Hide • AnnalsOfArda • Arda • SilmarillionChronology • TolkienGateway • SciFi: Hide • CentauriDreams • ColdNavy • ConceptShips • RavenstarStudios • SkyscraperPage • StarTrek • StarTrekVsStarWars • Film: Hide IMDB • BigHollywood • DKnowsAll • Jabootu • KyleSmith Music: Hide REALbasic: Hide • Resources • Garage • University • WebRing • Forums: • REAL • ElfData • Plugins and Code: • BKeeney • DeclareSub • Einhugur • Joe • Restrepo • Tempelmann • ZAZ Coding: Hide Forums: • PowWeb • PHP • Webmaster • Coding • Walkers • Perl • Intro • Monks • PHP • JavaScript • Toolbox • UnobtrusiveJavaScript • JavaScriptCompressor • RegularExpressions (test) • JSLint • SQL • Cocoa • CocoaBuilder • CocoaDev • CocoaLab • AppleScript • BBS • Userland • Faqintosh • FileMaker • FileMakerTips • FileMakerWorld • FileMakerPlugins Science: Hide DarwinCentral • PhysOrg • PandasThumb • TalkOrigins • TalkRational • AstronomyDailyPics • Curmudgeon • SmallThings • ArchaeoBlog • AntiEvolution.org • SkepticsGuide • EvC • BadAstronomer • PhysicsForum • SlashdotScience • JunkScience • Engadget • Thunderbolts • Icecap • CentauriDreams • NewScientist • Gizmodo • CO2Science • ClimateDebate • ScienceDaily • Nrich • Math • TalkOrigins • GoodMathBadMath • Magazines • AmericanScientist • NationalGeographic • Space.com History: Hide • 1421 News/Politics: Hide WideAwakes • Anchoress • Lucianne • Strata • AceOfSpades • BigLizards • BlackAndRight • Cannonfire • DrSanity • FloppingAces • GatewayPundit • HillBuzz • HotAir • Husaria • JawaReport • JimTreacher • JsCafeNette • LittleGreenFootballs • MyVRWC • Newsbusters • Pal2Pal • PinkFlamingo • PowerLine • RachelLucas • RogerLSimon • SisterToldjah • StolenThunder • SultanKnish • TCSDaily • UppityWoman • Wizbang • NewsGroper • NewsRightNow • OriginalSignal • Blogs... Cults/Crime: Hide Miscellaneous: Hide Fun: Agony ICanHas? ObSkills Snopes Pix: Deviant Places Renderosity Blender Artists X86: OSX86 ArsTech OSNews TUAW Tools: Calculator AsciiArt XMLVal FunStuff: Pictures: Photobucket (eg Dubai) Videos: YouTube Subtitler InterestingThings: LibraryThing FlashCards GoogleDocs Wowio Bubbl.us Colemak Audible PodioBooks WonderfulInfo BooksOnline AboutUs.org |
Wiki /
ShowPHPShow.php uses a template (e.g., show/blog.php) to organize the layout of the web page, and maybe to decide what to display if that isn't specified. Less sophisticationNo tags, no indexes. If you want items pulled up by date, begin the title with a date, e.g., 2007-08-26--President_Bush_Speaks. All searches return items sorted by name, but you can do a "date search" which matches only items beginning with a numeric date and sorts most recent entries (highest dates) first. Special lines in the entryThe first three lines of each entry (stripped of tags) are special.
(Sidenote: I can alter the editor to save a file as an entry, not a file, whenever the filename slot is blank -- it should generate the filename from the first line of the file.) Dated vs. undated entriesEntries whose names begin with a date (a string in ####-##-## format) are saved separately from other entries. Dated entries are sorted by month; thus all entries with names beginning with "2008-04" are stored in a "2008-04" folder. Undated entries are stored in folders by their first three characters (in lowercase). Thus an entry "McDonald" is stored in the "mcd" folder. SearchThe search URL is something like: There's room for growth here. I'll want to be able to exclude certain items from the search, e.g., entries containing "film" in the tagline. Editing toolsMost of the magic will be in the editor. I'll want a plugin to load a new dated entry (a template) into the editor. I'll want a text tool to generate a hidden DIV More sophisticationTagsTo add a tag to an entry, you'd enter something like <?php tag('nouns'); ?>. The tag() function would add the current page's title to the tag index for "nouns". (Alternate syntax: <!--tag:nouns-->) Alternative to tags: Page listsJust add entry names to a static list, in the order in which the entries should be displayed. Alternative to tags: Search resultsSearch for a phrase. Matches are naturally presented in alphabetical order by entry name. Search for latest?Entries should also be sortable by date (latest first usually). The log could serve as an index-by-date, but really we need a separate "date" index for entries. Use header()Don't use eval() to run embedded PHP code. Output nothing, build the page, then pass the page address to 'header()'. (VERIFY: If you call one script by URL and that script runs another URL via header(), it's still the URL you specifies that shows up in the browser's URL bar, right?) |