Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #12003
| Message-ID | <1414615.OY8q6s0ZgE@PointedEars.de> (permalink) |
|---|---|
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
| Organization | PointedEars Software (PES) |
| Date | 2013-11-28 14:40 +0100 |
| Subject | Re: creating key / hash |
| Newsgroups | comp.lang.php |
| References | <l77086$vhq$1@ariadne.rz.tu-clausthal.de> |
Philipp Kraus wrote:
> I need an idea for creating hash / key values. I use a WebDAV
> connection with sabredav to transform database table values in a webdav
> structure (vice versa).
> The database stores BibTeX data and I would like to transform this data
> in a BibTeX file. BibTeX uses a cite key most in this structure: <first
> 3 letters of each author><letter of the title><year>
> In my case this key should be generated automatically with PHP in the
> backend, but we have a hierachical structure, eg: organisation / group
> / authors / BibTeX publication
>
> My BibTeX key should store also a reference of the organisation and
> group, the organisation can be shorten with 3 letters (we have got a
> shortcut), but I need also a unique key, so
> my question is, did you have a good idea to create a "human readable
> short and unique hash with the hierachical organisation strucutre" in
> PHP ? At the moment I'm thinking about
> suffix trees or anything else.
>
> Thanks a lot for some ideas
It would be helpful if you gave an example showing
1. which input you have
2. which output you need;
3. which problems you had implementing the steps that lead from (1) to (2).
PointedEars
--
var bugRiddenCrashPronePieceOfJunk = (
navigator.userAgent.indexOf('MSIE 5') != -1
&& navigator.userAgent.indexOf('Mac') != -1
) // Plone, register_function.js:16
Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
creating key / hash Philipp Kraus <philipp.kraus@flashpixx.de> - 2013-11-28 09:52 +0100 Re: creating key / hash Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-11-28 14:40 +0100 Re: creating key / hash Jerry Stuckle <jstucklex@attglobal.net> - 2013-11-28 11:21 -0500 Re: creating key / hash Michael Vilain <vilain@NOspamcop.net> - 2013-11-28 10:37 -0800
csiph-web