[LON-CAPA-users] publishing questions

Gerd Kortemeyer lon-capa-users@mail.lon-capa.org
Thu, 23 Jan 2003 16:50:57 -0500


Yes, doing the whole cycle again and deleting the individual .meta files
is going to do the trick. I like your idea for a new option to forget
about individual meta files. Another thing would be an additional option
to force republication, even if the file did not change.

Travis Souza wrote:

>  Thanks Gerd. After all of this, I still have problems because the
> default.meta is not read if there is an existing .meta for a
> resource.  I can get around this one by by deleting the individual
> .meta so that default.meta is the only one left in the directory.  I
> know that's probably a no-no too, but we may want to think about an
> option to force a directory to use the default.meta over any
> existing. The moral of the story is to get it right the first
> time. Travis  Travis Souza, Coordinator
> Instructional Center for Innovation
> Truckee Meadows Community College
> 775-674-7505
> tsouza@tmcc.edu
>
> >>> korte@lite.msu.edu 01/23/03 12:36PM >>>
> Hi Travis,
>
> Yes, since the files did not change, the publication skips them. Hmm
> ...
> let me think about that one ...
>
> But since you have been going in ssh anyway (usually not recommended
> ...), as user souza:
>
> [/home/souza]$ cp -R public_html/* tmp
> [/home/souza]$ mv public_html backup
> [/home/souza]$ mv tmp public_html
>
> Now as root:
>
> [/home/souza]# chown -R www:souza public_html
>
> If that works, you can remove /home/souza/backup
>
> - Gerd.
>
> Travis Souza wrote:
>
> >
> > >>> korte@lite.msu.edu 01/23/03 11:21AM >>>
> >
> >
> > Gerd Kortemeyer wrote:
> >
> > >
> > >
> > > Travis Souza wrote:
> > >
> > > > Is there a way I can force the directories to re-publish
> > > > using the default.meta?
> > >
> > > You can edit the "default.meta" with teh "Directory Catalog
> > Information"
> > > button. What you type there applies to the directory and all
> > subdirs.
> >
> > ... after saving the info, you will need to press "Publish Directory
>
> > and Sub
> > Directories".  Hi Gerd,I edited the default.meta after I published
> the
> > first time.  When I tried to republish the directory it skips all of
>
> > the files because they have not changed.  I know that I can fix them
>
> > individually but there are quite a few files.  When I republish and
> > individual resource it is updated with the contents of
> > default.meta. Thanks. P.S. I also screwed up after failing to
> > republish and moved some files around through ssh and messed up the
> > permissions.  I am getting errors when I try to publish from
> > directories that I modified saying 'no write pemission to
> directory'.
> > It looks like I need to chown the directories to www:souza as the
> > problem areas seem to be set as souza:souza.  Am I hosed?
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > >
> > >
> > > >  Also when publishing from directories there
> > > > seems to be no way to limit the scope of the resources to domain
>
> > only.
> > >
> > > In "Directory Catalog Information", type the word "domain" under
> > > "copyright".
> >
> > Again, make sure to re-publish.
> >
> > _______________________________________________
> > LON-CAPA-users mailing list
> > LON-CAPA-users@mail.lon-capa.org
> > http://mail.lon-capa.org/mailman/listinfo/lon-capa-users Travis
> Souza,
> > Coordinator
> > Instructional Center for Innovation
> > Truckee Meadows Community College
> > 775-674-7505
> > tsouza@tmcc.edu
>
> _______________________________________________
> LON-CAPA-users mailing list
> LON-CAPA-users@mail.lon-capa.org
> http://mail.lon-capa.org/mailman/listinfo/lon-capa-users