1 |
<html> |
<html> |
2 |
<head> |
<head> |
3 |
<title>joko's sample notes - 2003-01</title> |
<title>joko's sample notes - 2003-01 - InventoryCleanupAndRefactoring</title> |
4 |
<link href="/horde/css.php?app=chora" rel="stylesheet" type="text/css" /> |
<link href="/horde/css.php?app=chora" rel="stylesheet" type="text/css" /> |
5 |
</head> |
</head> |
6 |
<body> |
<body> |
434 |
x /etc/init.d/apache reload |
x /etc/init.d/apache reload |
435 |
x test: http://news.netfrag.org/ |
x test: http://news.netfrag.org/ |
436 |
|
|
|
|
|
|
|
|
437 |
o new module for cvs-repository? |
o new module for cvs-repository? |
438 |
o nfo/layouts/fs/skel/data2 |
o nfo/layouts/fs/skel/data2 |
439 |
o checkout to /data on quepasa.netfrag.org |
o checkout to /data on quepasa.netfrag.org |
566 |
x sysadmin@netfrag.org |
x sysadmin@netfrag.org |
567 |
x faq@netfrag.org |
x faq@netfrag.org |
568 |
|
|
569 |
x setup newsportal (by Florian Amrhein) |
x --rework|*reworked*-- apache-layout - check into repository as something root is responsible for! |
570 |
|
|
571 |
|
x --setup|*setting up*-- newsportal (by Florian Amrhein) |
572 |
x url: http://florian-amrhein.de/newsportal/ |
x url: http://florian-amrhein.de/newsportal/ |
573 |
x cd /home/service/download |
x cd /home/service/download |
574 |
x mkdir newsportal |
x mkdir newsportal |
575 |
x cd newsportal |
x cd newsportal |
576 |
x wget http://florian-amrhein.de/newsportal/download/newsportal-0.24.tar.gz |
x wget http://florian-amrhein.de/newsportal/download/newsportal-0.24.tar.gz |
577 |
x mkdir -p /data/www/virtual/netfrag/sites/news/apps/newsportal/ |
x mkdir -p /data/www/virtual/netfrag/sites/news/apps/newsportal/ |
578 |
x tar -xzf newsportal-0.24.tar.gz --directory=/data/www/virtual/netfrag/global/apps/newsportal/ |
x tar -xzf newsportal-0.24.tar.gz --directory=/data/www/global/apps/newsportal/ |
579 |
|
x add to /data/www/virtual/netfrag/conf/applications.conf |
580 |
|
Alias /webnews/ /data/www/global/apps/newsportal/ |
581 |
x rework apache-layout - check into repository as something root is responsible for! |
x configure in /data/www/global/apps/newsportal/config.inc |
582 |
|
// newsserver setup |
583 |
|
$server="news.netfrag.org"; |
584 |
|
$server_auth_user="webnews"; |
585 |
|
$server_auth_pass="web123"; |
586 |
|
x add to /etc/news/nnrp.access: |
587 |
|
# 2003-01-26, joko |
588 |
|
*:Read Post:webnews:web123:* |
589 |
|
x modify groups.txt |
590 |
|
<nfo.* - add all groups here> |
591 |
|
o TODO: AUTOUPDATE here! |
592 |
|
x add to the index-page: |
593 |
|
xR set INSERTION="<link href="/horde/css.php?app=chora" rel="stylesheet" type="text/css" />" |
594 |
|
x grep -rin "<head" * |
595 |
|
doc/readme-deutsch.html:4:</head> |
596 |
|
doc/faq.html:4:</head> |
597 |
|
doc/history.txt:234:- fehlender </head> Tag ergaenzt |
598 |
|
doc/readme-english.html:4:</head> |
599 |
|
doc/history.txt~:233:- fehlender </head> Tag ergaenzt |
600 |
|
extras/frames/thread_frameset.php:10:</head> |
601 |
|
head.inc:5:</head> |
602 |
|
x cvs add head.inc |
603 |
|
x cvs commit -m "+ initial commit" head.inc |
604 |
|
x <modify head.inc> |
605 |
|
x nano head.inc |
606 |
|
x <jump to line 5> STRG+W + T: 5 |
607 |
|
xR <insert INSERTION> |
608 |
|
xR <insert [ENTER]> |
609 |
|
x <save file> STRG+O + [ENTER] |
610 |
|
x test: <hit reload on <a href="http://www.netfrag.org/webnews/">http://www.netfrag.org/webnews/</a>> |
611 |
|
o TODO: RefactorThisHtmlRef to WebNews |
612 |
|
o view message in some MimeViewer or HtmlViewer (Horde?) |
613 |
|
o -> use a MessageViewer with MimeCapabilities and HtmlCapabilities |
614 |
|
x Why newsportal and no other? |
615 |
|
x directly connects to nntp-daemon |
616 |
|
x has local spool (o TODO: purge regularly?) |
617 |
|
x highly customizable |
618 |
|
x added custom css-stylesheet and changed something at content-rendering-level without any problems |
619 |
|
x visit cvs.netfrag.org to look at the changes made to the newsportal codebase: |
620 |
|
x -> <a href="http://cvs.netfrag.org/nfo/hosts/quepasa.netfrag.org/data/www/global/apps/newsportal/">newsportal at cvs.netfrag.org</a> |
621 |
|
o TODO: RefactorThisLink |
622 |
|
x it's just easy! |
623 |
|
x setup dispatchrequest for http://news.netfrag.org |
624 |
|
x cd /data/www/virtual/netfrag/sites/news/ |
625 |
|
x create symlink |
626 |
|
x ./.symlinkrc |
627 |
|
x copy over from webcvs |
628 |
|
x cp ../webcvs/index.php . |
629 |
|
x mkdir .dispatch |
630 |
|
x cd .dispatch |
631 |
|
x cp ../webcvs/.dispatch/config.php . |
632 |
|
x cp ../webcvs/.dispatch/index.php . |
633 |
|
x cvs add ... |
634 |
|
x cvs commit ... |
635 |
|
x added|*adding* dispatcher at http://news.netfrag.org |
636 |
|
x used and mungled DispatchRequest(->cvs, ->doc, ->search) for this purpose |
637 |
|
o IdeaFor ParseDoc: expand: cvs=JumpToCvs, doc=JumpToDoc, search=SearchFor |
638 |
|
x examples for the JumpToCvs mechanism are shown on <a href="http://netfrag.org/~joko/computing/overview/topics/>computing/overview/topics</a> |
639 |
|
x tested http://cvs.netfrag.org/ - still working... |
640 |
|
o AddedFeatures to DispatchRequest: |
641 |
|
x JumpToNewsgroup: http://news.netfrag.org/nfo.tutos.sysadmin/ |
642 |
|
e.g. ->http://netfrag.org/webnews/thread.php?group=nfo.links.computing |
643 |
|
o JumpToThread: NotYetImplemented! DoWeReallyNeedThis? |
644 |
|
o JumpToArticle: http://news.netfrag.org/nfo.sysadmin.tutos/id/b0shbj$l9s$1@quepasa.netfrag.org |
645 |
|
x JumpToArticle: http://news.netfrag.org/nfo.links.computing/id/44 |
646 |
|
e.g. ->http://netfrag.org/webnews/article.php?id=44&group=nfo.links.computing |
647 |
|
|
648 |
|
|
649 |
o NfoWeb |
o NfoWeb |
650 |
o add WikiPages: |
o add WikiPages: |
672 |
o IconForNetfrag.Org? |
o IconForNetfrag.Org? |
673 |
o fav.ico? |
o fav.ico? |
674 |
|
|
675 |
x install viewcvs |
x --*installed*|install-- viewcvs |
676 |
x apt-get install viewcvs |
x apt-get install viewcvs |
677 |
x configured: |
x configured: |
678 |
x /var/lib/cvs |
x /var/lib/cvs |
683 |
x added to '/data/www/virtual/netfrag/conf/applications.conf' in our case |
x added to '/data/www/virtual/netfrag/conf/applications.conf' in our case |
684 |
x added '<link href="/horde/css.php?app=chora" rel="stylesheet" type="text/css" />' to '/etc/viewcvs/templates/header.ezt' |
x added '<link href="/horde/css.php?app=chora" rel="stylesheet" type="text/css" />' to '/etc/viewcvs/templates/header.ezt' |
685 |
|
|
686 |
o rendering proposals for TaviWorkflow |
o rendering *proposals* for TaviWorkflow |
687 |
o Linking|Referencing (WikiWords, PureExplicitLinkExtrapolation, NamedLinks) |
o Linking|Referencing (WikiWords, PureExplicitLinkExtrapolation, NamedLinks) |
688 |
o Coloring |
o Coloring |
689 |
o [o=red, x=green, R=red, r=green] |
o [o=red, x=green, R=red, r=green] |
690 |
|
|
691 |
o shortcut: TestApache to run 'apachectl configtest' (WikiForSystemAdministration) |
o *shortcut*: TestApache to run 'apachectl configtest' (WikiForSystemAdministration) |
692 |
|
|
693 |
x web-based newsreader? twig! |
x web-based newsreader? twig! |
694 |
x apt-get install twig |
x apt-get install twig |
970 |
o link-checker for netfrag.org |
o link-checker for netfrag.org |
971 |
|
|
972 |
o dispatcher for style.netfrag.org redirecting to <link href="/horde/css.php?app=chora" rel="stylesheet" type="text/css" />? |
o dispatcher for style.netfrag.org redirecting to <link href="/horde/css.php?app=chora" rel="stylesheet" type="text/css" />? |
973 |
|
o styleme.php |
974 |
|
o brandme.php |
975 |
|
|
976 |
|
|
977 |
|
|
978 |
o mini-howto: "HttpRedirect" |
o mini-howto: "HttpRedirect" |
979 |
|
|
1032 |
(o DownloadItems) <- want-to-have |
(o DownloadItems) <- want-to-have |
1033 |
o OfflineReading (pdf, chm) |
o OfflineReading (pdf, chm) |
1034 |
|
|
1035 |
|
o link to http://teamsonar.no-ip.com |
1036 |
|
|
1037 |
|
o mail announces to announce@netfrag.org |
1038 |
|
|
1039 |
|
o no symlinks in webroot anymore? use ApacheAliases? |
1040 |
|
|
1041 |
|
o MiniHowto: NfoLinkageSystem |
1042 |
|
|
1043 |
|
o php: appcontrol: reads .appcontrolrc-files recursively from directories and adds/removes users or sets passwords |
1044 |
|
according to specification in there |
1045 |
|
|
1046 |
|
o source-code parser which creates documentation with wiki techniques |
1047 |
|
o pod2tavi -> tavi2html |
1048 |
|
o phpDoc <- tavi-plugin? |
1049 |
|
|
1050 |
|
|
1051 |
|
|
1052 |
|
|
1053 |
|
|
1054 |
</pre> |
</pre> |
1055 |
|
|